VYPR

Libgcrypt

by Gnupg

Source repositories

CVEs (19)

  • CVE-2021-3345HigJan 29, 2021
    risk 0.51cvss 7.8epss 0.01

    _gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a large count value. It is recommended to upgrade to 1.9.1 or later.

  • CVE-2021-33560HigJun 8, 2021
    risk 0.49cvss 7.5epss 0.02

    Libgcrypt before 1.8.8 and 1.9.x before 1.9.3 mishandles ElGamal encryption because it lacks exponent blinding to address a side-channel attack against mpi_powm, and the window size is not chosen appropriately. This, for example, affects use of ElGamal in OpenPGP.

  • CVE-2018-6829HigFeb 7, 2018
    risk 0.49cvss 7.5epss 0.02

    cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers to obtain sensitive information by reading ciphertext data (i.e., it does not have semantic security in face of a ciphertext-only attack).…

  • CVE-2017-0379HigAug 29, 2017
    risk 0.49cvss 7.5epss 0.04

    Libgcrypt before 1.8.1 does not properly consider Curve25519 side-channel attacks, which makes it easier for attackers to discover a secret key, related to cipher/ecc.c and mpi/ec.c.

  • CVE-2026-41989MedApr 23, 2026
    risk 0.44cvss 6.7epss 0.00

    Libgcrypt before 1.12.2 sometimes allows a heap-based buffer overflow and denial of service via crafted ECDH ciphertext to gcry_pk_decrypt.

  • CVE-2019-13627MedSep 25, 2019
    risk 0.41cvss 6.3epss 0.01

    It was discovered that there was a ECDSA timing attack in the libgcrypt20 cryptographic library. Version affected: 1.8.4-5, 1.7.6-2+deb9u3, and 1.6.3-2+deb8u4. Versions fixed: 1.8.5-2 and 1.6.3-2+deb8u7.

  • CVE-2017-7526MedJul 26, 2018
    risk 0.40cvss 6.1epss 0.04

    libgcrypt before version 1.7.8 is vulnerable to a cache side-channel attack resulting into a complete break of RSA-1024 while using the left-to-right method for computing the sliding-window expansion. The same attack is believed to work on RSA-2048 with moderately more…

  • CVE-2015-0837MedNov 29, 2019
    risk 0.39cvss 5.9epss 0.02

    The mpi_powm function in Libgcrypt before 1.6.3 and GnuPG before 1.4.19 allows attackers to obtain sensitive information by leveraging timing differences when accessing a pre-computed table during modular exponentiation, related to a "Last-Level Cache Side-Channel Attack."

  • CVE-2017-9526MedJun 11, 2017
    risk 0.39cvss 5.9epss 0.02

    In Libgcrypt before 1.7.7, an attacker who learns the EdDSA session key (from side-channel observation during the signing process) can easily recover the long-term secret key. 1.7.7 makes a cipher/ecc-eddsa.c change to store this session key in secure memory, to ensure that…

  • CVE-2024-2236MedMar 6, 2024
    risk 0.38cvss 5.9epss 0.01

    A timing-based side-channel flaw was found in libgcrypt's RSA implementation. This issue may allow a remote attacker to initiate a Bleichenbacher-style attack, which can lead to the decryption of RSA ciphertexts.

  • CVE-2021-40528MedSep 6, 2021
    risk 0.38cvss 5.9epss 0.01

    The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two cryptographic libraries, a certain dangerous combination of the prime defined by the receiver's public key, the generator defined by the receiver's public key,…

  • CVE-2016-6313MedDec 13, 2016
    risk 0.35cvss 5.3epss 0.04

    The mixing functions in the random number generator in Libgcrypt before 1.5.6, 1.6.x before 1.6.6, and 1.7.x before 1.7.3 and GnuPG before 1.4.21 make it easier for attackers to obtain the values of 160 bits by leveraging knowledge of the previous 4640 bits.

  • CVE-2014-3591MedNov 29, 2019
    risk 0.27cvss 4.2epss 0.01

    Libgcrypt before 1.6.3 and GnuPG before 1.4.19 does not implement ciphertext blinding for Elgamal decryption, which allows physically proximate attackers to obtain the server's private key by determining factors using crafted ciphertext and the fluctuations in the…

  • CVE-2026-41990MedApr 23, 2026
    risk 0.26cvss 4.0epss 0.00

    Libgcrypt before 1.12.2 mishandles Dilithium signing. Writes to a static array lack a bounds check but do not use attacker-controlled data.

  • CVE-2018-0495MedJun 13, 2018
    risk 0.24cvss 4.7epss 0.01

    Libgcrypt before 1.7.10 and 1.8.x before 1.8.3 allows a memory-cache side-channel attack on ECDSA signatures that can be mitigated through the use of blinding during the signing process in the _gcry_ecc_ecdsa_sign function in cipher/ecc-ecdsa.c, aka the Return Of the Hidden…

  • CVE-2015-7511LowApr 19, 2016
    risk 0.13cvss 2.0epss 0.00

    Libgcrypt before 1.6.5 does not properly perform elliptic-point curve multiplication during decryption, which makes it easier for physically proximate attackers to extract ECDH keys by measuring electromagnetic emanations.

  • CVE-2019-12904MedJun 20, 2019
    risk 0.00cvss 5.9epss 0.02

    In Libgcrypt 1.8.4, the C implementation of AES is vulnerable to a flush-and-reload side-channel attack because physical addresses are available to other processes. (The C implementation is used on platforms where an assembly-language implementation is unavailable.) NOTE: the…

  • CVE-2014-5270Oct 10, 2014
    risk 0.00cvss epss 0.01

    Libgcrypt before 1.5.4, as used in GnuPG and other products, does not properly perform ciphertext normalization and ciphertext randomization, which makes it easier for physically proximate attackers to conduct key-extraction attacks by leveraging the ability to collect voltage…

  • CVE-2013-4242Aug 19, 2013
    risk 0.00cvss epss 0.01

    GnuPG before 1.4.14, and Libgcrypt before 1.5.3 as used in GnuPG 2.0.x and possibly other products, allows local users to obtain private RSA keys via a cache side-channel attack involving the L3 cache, aka Flush+Reload.