MidnightBSD

Advisories for gnupg

CVE-2005-0366 MEDIUM

The integrity check feature in OpenPGP, when handling a message that was encrypted using cipher feedback (CFB) mode, allows remote attackers to recover part of the plaintext via a chosen-ciphertext attack when the first 2 bytes of a message block are known, and an oracle or other mechanism is available to determine whether an integrity check failed.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-326,

Products Affected

Vendor Product Version
gnupg gnupg *
CVE-2006-3082 MEDIUM

parse-packet.c in GnuPG (gpg) 1.4.3 and 1.9.20, and earlier versions, allows remote attackers to cause a denial of service (gpg crash) and possibly overwrite memory via a message packet with a large length (long user ID string), which could lead to an integer overflow, as demonstrated using the --no-armor option.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-189,

Products Affected

Vendor Product Version
gnupg gnupg *
gnupg gnupg 1.4.3
CVE-2006-3746 MEDIUM

Integer overflow in parse_comment in GnuPG (gpg) 1.4.4 allows remote attackers to cause a denial of service (segmentation fault) via a crafted message.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
gnupg gnupg 1.4.4
CVE-2010-2547 MEDIUM

Use-after-free vulnerability in kbx/keybox-blob.c in GPGSM in GnuPG 2.x through 2.0.16 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a certificate with a large number of Subject Alternate Names, which is not properly handled in a realloc operation when importing the certificate or verifying its signature.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-416,

Products Affected

Vendor Product Version
gnupg gnupg 2.0.16
gnupg gnupg 2.0.1
gnupg gnupg 2.0.3
gnupg gnupg 2.0.12
gnupg gnupg 2.0
gnupg gnupg 2.0.13
gnupg gnupg *
debian debian_linux 5.0
gnupg gnupg 2.0.7
gnupg gnupg 2.0.10
gnupg gnupg 2.0.6
gnupg gnupg 2.0.8
gnupg gnupg 2.0.14
gnupg gnupg 2.0.5
fedoraproject fedora 13
gnupg gnupg 2.0.15
gnupg gnupg 2.0.4
gnupg gnupg 2.0.11
CVE-2012-6085 MEDIUM

The read_block function in g10/import.c in GnuPG 1.4.x before 1.4.13 and 2.0.x through 2.0.19, when importing a key, allows remote attackers to corrupt the public keyring database or cause a denial of service (application crash) via a crafted length field of an OpenPGP packet.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,

Products Affected

Vendor Product Version
gnupg gnupg 2.0.16
gnupg gnupg 2.0.17
gnupg gnupg 2.0.1
gnupg gnupg 2.0.3
gnupg gnupg 2.0.7
gnupg gnupg 2.0.10
gnupg gnupg 2.0.6
gnupg gnupg 1.4.4
gnupg gnupg 2.0.8
gnupg gnupg 2.0.15
gnupg gnupg 1.4.0
gnupg gnupg 1.4.11
gnupg gnupg 2.0.12
gnupg gnupg 1.4.2
gnupg gnupg 2.0
gnupg gnupg 2.0.13
gnupg gnupg 1.4.3
gnupg gnupg 1.4.12
gnupg gnupg 2.0.18
gnupg gnupg 2.0.14
gnupg gnupg 2.0.5
gnupg gnupg 1.4.10
gnupg gnupg 2.0.19
gnupg gnupg 1.4.8
gnupg gnupg 2.0.4
gnupg gnupg 2.0.11
gnupg gnupg 1.4.5
CVE-2013-4242 LOW

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.

CVSS 2.0

Severity: LOW

Problem Type: CWE-200,

Products Affected

Vendor Product Version
gnupg gnupg 2.0.16
gnupg gnupg 2.0.3
gnupg gnupg 1.3.2
gnupg gnupg 1.2.6
gnupg gnupg 0.9.4
gnupg libgcrypt 1.4.4
gnupg gnupg 1.0.4
opensuse opensuse 12.2
gnupg gnupg 0.3.2
gnupg gnupg 0.9.7
gnupg libgcrypt 1.5.0
gnupg gnupg *
gnupg gnupg 1.0.0
gnupg gnupg 1.2.4
gnupg gnupg 2.0.8
gnupg gnupg 1.3.91
debian debian_linux 7.0
gnupg gnupg 0.9.8
gnupg gnupg 1.3.0
gnupg gnupg 1.2.1
gnupg gnupg 1.0.2
gnupg gnupg 1.3.92
canonical ubuntu_linux 12.04
gnupg gnupg 1.2.3
gnupg gnupg 1.2.7
gnupg libgcrypt 1.4.3
gnupg gnupg 1.4.0
gnupg gnupg 1.4.11
gnupg gnupg 2.0.12
gnupg gnupg 0.2.17
gnupg libgcrypt 1.4.6
gnupg libgcrypt 1.4.5
gnupg gnupg 0.9.3
gnupg gnupg 0.9.1
gnupg gnupg 1.4.12
gnupg gnupg 0.4.4
gnupg gnupg 0.9.2
gnupg gnupg 2.0.18
gnupg gnupg 2.0.14
gnupg gnupg 1.3.90
gnupg gnupg 2.0.5
gnupg gnupg 1.0.1
gnupg gnupg 1.3.6
gnupg gnupg 2.0.19
gnupg gnupg 0.3.1
gnupg libgcrypt *
gnupg gnupg 1.0.5
gnupg gnupg 2.0.17
gnupg gnupg 2.0.1
gnupg gnupg 0.0.0
gnupg gnupg 1.3.1
gnupg gnupg 0.2.15
gnupg gnupg 0.4.1
gnupg gnupg 0.9.0
gnupg gnupg 0.9.9
gnupg gnupg 1.2.2
gnupg gnupg 0.4.5
gnupg gnupg 2.0.7
debian debian_linux 6.0
gnupg gnupg 2.0.10
gnupg gnupg 0.9.10
gnupg gnupg 2.0.6
gnupg gnupg 0.2.16
gnupg gnupg 1.3.3
gnupg gnupg 1.0.3
gnupg gnupg 1.2.0
gnupg gnupg 0.9.6
canonical ubuntu_linux 10.04
gnupg gnupg 0.2.18
canonical ubuntu_linux 12.10
gnupg gnupg 2.0.15
gnupg gnupg 1.0.6
gnupg gnupg 1.3.93
gnupg gnupg 0.2.19
gnupg gnupg 0.3.4
gnupg gnupg 0.3.0
opensuse opensuse 12.3
gnupg gnupg 0.4.3
gnupg gnupg 2.0.13
gnupg libgcrypt 1.4.0
gnupg gnupg 1.3.4
gnupg gnupg 1.0.7
gnupg gnupg 0.9.11
gnupg gnupg 0.4.0
gnupg gnupg 1.2.5
gnupg gnupg 0.3.3
gnupg gnupg 0.9.5
canonical ubuntu_linux 13.04
gnupg libgcrypt 1.5.1
gnupg gnupg 1.4.10
gnupg gnupg 2.0.4
gnupg gnupg 0.3.5
gnupg gnupg 2.0.11
CVE-2013-4351 MEDIUM

GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage permitted) as if it has all bits set (all usage permitted), which might allow remote attackers to bypass intended cryptographic protection mechanisms by leveraging the subkey.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-310,

Products Affected

Vendor Product Version
gnupg gnupg 2.0.16
gnupg gnupg 2.0.17
gnupg gnupg 2.0.1
gnupg gnupg 2.0.3
gnupg gnupg 1.4.13
gnupg gnupg 2.1.0
gnupg gnupg 2.0.7
gnupg gnupg 2.0.10
gnupg gnupg 2.0.6
gnupg gnupg 1.4.4
gnupg gnupg 2.0.8
gnupg gnupg 2.0.15
gnupg gnupg 1.4.0
gnupg gnupg 1.4.11
gnupg gnupg 2.0.12
gnupg gnupg 1.4.2
gnupg gnupg 2.0
gnupg gnupg 2.0.13
gnupg gnupg 1.4.3
gnupg gnupg 1.4.12
gnupg gnupg 2.0.18
gnupg gnupg 2.0.14
gnupg gnupg 2.0.5
gnupg gnupg 1.4.10
gnupg gnupg 2.0.19
gnupg gnupg 1.4.8
gnupg gnupg 1.4.6
gnupg gnupg 2.0.4
gnupg gnupg 2.0.11
gnupg gnupg 1.4.5
CVE-2013-4402 MEDIUM

The compressed packet parser in GnuPG 1.4.x before 1.4.15 and 2.0.x before 2.0.22 allows remote attackers to cause a denial of service (infinite recursion) via a crafted OpenPGP message.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,

Products Affected

Vendor Product Version
gnupg gnupg 2.0.16
gnupg gnupg 2.0.17
gnupg gnupg 2.0.1
gnupg gnupg 1.4.13
gnupg gnupg 2.0.10
gnupg gnupg 1.4.4
gnupg gnupg 2.0.20
canonical ubuntu_linux 10.04
canonical ubuntu_linux 12.10
gnupg gnupg 2.0.15
canonical ubuntu_linux 12.04
gnupg gnupg 1.4.0
gnupg gnupg 1.4.11
gnupg gnupg 2.0.12
gnupg gnupg 1.4.2
gnupg gnupg 2.0
gnupg gnupg 2.0.13
gnupg gnupg 2.0.21
gnupg gnupg 1.4.3
gnupg gnupg 1.4.12
gnupg gnupg 2.0.18
gnupg gnupg 2.0.14
canonical ubuntu_linux 13.04
gnupg gnupg 1.4.10
gnupg gnupg 2.0.19
gnupg gnupg 1.4.8
gnupg gnupg 2.0.11
gnupg gnupg 1.4.5
gnupg gnupg 1.4.14
CVE-2013-4576 LOW

GnuPG 1.x before 1.4.16 generates RSA keys using sequences of introductions with certain patterns that introduce a side channel, which allows physically proximate attackers to extract RSA keys via a chosen-ciphertext attack and acoustic cryptanalysis during decryption. NOTE: applications are not typically expected to protect themselves from acoustic side-channel attacks, since this is arguably the responsibility of the physical device. Accordingly, issues of this type would not normally receive a CVE identifier. However, for this issue, the developer has specified a security policy in which GnuPG should offer side-channel resistance, and developer-specified security-policy violations are within the scope of CVE.

CVSS 2.0

Severity: LOW

Problem Type: CWE-255,

Products Affected

Vendor Product Version
gnupg gnupg 1.3.1
gnupg gnupg 1.3.2
gnupg gnupg 1.2.6
gnupg gnupg 1.0.4
gnupg gnupg *
gnupg gnupg 1.2.2
gnupg gnupg 1.4.13
gnupg gnupg 1.0.0
gnupg gnupg 1.4.4
gnupg gnupg 1.2.4
gnupg gnupg 1.3.3
gnupg gnupg 1.3.91
gnupg gnupg 1.0.3
gnupg gnupg 1.2.0
gnupg gnupg 1.3.0
gnupg gnupg 1.0.6
gnupg gnupg 1.2.1
gnupg gnupg 1.0.2
gnupg gnupg 1.3.93
gnupg gnupg 1.3.92
gnupg gnupg 1.2.3
gnupg gnupg 1.2.7
gnupg gnupg 1.4.0
gnupg gnupg 1.4.11
gnupg gnupg 1.4
gnupg gnupg 1.4.2
gnupg gnupg 1.3.4
gnupg gnupg 1.0.7
gnupg gnupg 1.4.3
gnupg gnupg 1.4.12
gnupg gnupg 1.2.5
gnupg gnupg 1.3.90
gnupg gnupg 1.0.1
gnupg gnupg 1.4.10
gnupg gnupg 1.3.6
gnupg gnupg 1.4.8
gnupg gnupg 1.4.6
gnupg gnupg 1.4.5
gnupg gnupg 1.4.14
gnupg gnupg 1.0.5
CVE-2014-3591 LOW

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 electromagnetic field during multiplication.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 4.2 MEDIUM CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 0.5 3.6

CVSS 2.0

Severity: LOW

Problem Type: CWE-200,

Products Affected

Vendor Product Version
debian debian_linux 7.0
gnupg gnupg *
debian debian_linux 8.0
gnupg libgcrypt *
CVE-2014-4617 MEDIUM

The do_uncompress function in g10/compress.c in GnuPG 1.x before 1.4.17 and 2.x before 2.0.24 allows context-dependent attackers to cause a denial of service (infinite loop) via malformed compressed packets, as demonstrated by an a3 01 5b ff byte sequence.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,

Products Affected

Vendor Product Version
gnupg gnupg 2.0.16
gnupg gnupg 2.0.3
gnupg gnupg 1.3.2
gnupg gnupg 1.2.6
gnupg gnupg 1.0.4
gnupg gnupg *
gnupg gnupg 1.0.0
gnupg gnupg 1.4.4
gnupg gnupg 1.2.4
gnupg gnupg 2.0.8
gnupg gnupg 1.3.91
debian debian_linux 7.0
gnupg gnupg 1.3.0
gnupg gnupg 1.2.1
gnupg gnupg 1.0.2
opensuse opensuse 13.1
gnupg gnupg 1.3.92
gnupg gnupg 2.0.23
gnupg gnupg 1.2.3
gnupg gnupg 1.2.7
gnupg gnupg 1.4.0
gnupg gnupg 1.4.11
gnupg gnupg 2.0.12
gnupg gnupg 2.0
gnupg gnupg 1.4.12
gnupg gnupg 2.0.18
gnupg gnupg 2.0.14
gnupg gnupg 1.3.90
gnupg gnupg 2.0.5
gnupg gnupg 1.0.1
gnupg gnupg 1.3.6
gnupg gnupg 2.0.19
gnupg gnupg 1.4.8
gnupg gnupg 1.4.5
gnupg gnupg 1.4.14
gnupg gnupg 1.0.5
gnupg gnupg 2.0.17
gnupg gnupg 2.0.1
gnupg gnupg 1.3.1
gnupg gnupg 1.2.2
gnupg gnupg 1.4.13
gnupg gnupg 2.0.7
gnupg gnupg 2.0.10
gnupg gnupg 2.0.6
gnupg gnupg 1.3.3
gnupg gnupg 2.0.20
gnupg gnupg 1.0.3
gnupg gnupg 1.2.0
gnupg gnupg 2.0.15
gnupg gnupg 1.0.6
gnupg gnupg 1.3.93
gnupg gnupg 1.4.15
opensuse opensuse 12.3
gnupg gnupg 1.4.2
gnupg gnupg 2.0.13
gnupg gnupg 2.0.21
gnupg gnupg 2.0.22
gnupg gnupg 1.3.4
gnupg gnupg 1.0.7
gnupg gnupg 1.4.3
gnupg gnupg 1.2.5
gnupg gnupg 1.4.10
gnupg gnupg 2.0.4
gnupg gnupg 2.0.11
CVE-2014-5270 LOW

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 data from exposed metal, a different vector than CVE-2013-4576.

CVSS 2.0

Severity: LOW

Problem Type: CWE-200,

Products Affected

Vendor Product Version
gnupg libgcrypt 1.4.3
debian debian_linux 7.0
gnupg libgcrypt 1.4.6
gnupg libgcrypt 1.4.4
gnupg libgcrypt 1.4.5
gnupg libgcrypt 1.5.1
gnupg libgcrypt 1.5.2
gnupg libgcrypt 1.5.0
gnupg libgcrypt 1.4.0
gnupg libgcrypt *
CVE-2014-9087 HIGH

Integer underflow in the ksba_oid_to_str function in Libksba before 1.3.2, as used in GnuPG, allows remote attackers to cause a denial of service (crash) via a crafted OID in a (1) S/MIME message or (2) ECC based OpenPGP data, which triggers a buffer overflow.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-191,

Products Affected

Vendor Product Version
canonical ubuntu_linux 14.10
debian debian_linux 7.0
canonical ubuntu_linux 14.04
mageia mageia 3.0
debian debian_linux 8.0
mageia mageia 4.0
gnupg libksba *
gnupg gnupg 2.1.0
canonical ubuntu_linux 12.04
CVE-2015-0837 MEDIUM

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."

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 5.9 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 2.2 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-203,

Products Affected

Vendor Product Version
debian debian_linux 7.0
gnupg gnupg *
debian debian_linux 8.0
gnupg libgcrypt *
CVE-2015-1606 MEDIUM

The keyring DB in GnuPG before 2.1.2 does not properly handle invalid packets, which allows remote attackers to cause a denial of service (invalid read and use-after-free) via a crafted keyring file.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 5.5 MEDIUM CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H 1.8 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-416,

Products Affected

Vendor Product Version
debian debian_linux 7.0
gnupg gnupg *
debian debian_linux 8.0
CVE-2015-1607 MEDIUM

kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and "memcpy with overlapping ranges."

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 5.5 MEDIUM CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H 1.8 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,

Products Affected

Vendor Product Version
canonical ubuntu_linux 14.10
canonical ubuntu_linux 14.04
canonical ubuntu_linux 10.04
gnupg gnupg *
canonical ubuntu_linux 12.04
CVE-2015-7511 LOW

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.

CVSS 2.0

Severity: LOW

Problem Type: CWE-200,

Products Affected

Vendor Product Version
debian debian_linux 7.0
canonical ubuntu_linux 14.04
debian debian_linux 8.0
canonical ubuntu_linux 15.10
canonical ubuntu_linux 12.04
gnupg libgcrypt *
CVE-2016-4353 MEDIUM

ber-decoder.c in Libksba before 1.3.3 does not properly handle decoder stack overflows, which allows remote attackers to cause a denial of service (abort) via crafted BER data.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,

Products Affected

Vendor Product Version
canonical ubuntu_linux 14.04
gnupg libksba *
canonical ubuntu_linux 12.04
CVE-2016-4354 MEDIUM

ber-decoder.c in Libksba before 1.3.3 uses an incorrect integer data type, which allows remote attackers to cause a denial of service (crash) via crafted BER data, which leads to a buffer overflow.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-119,

Products Affected

Vendor Product Version
canonical ubuntu_linux 14.04
gnupg libksba *
canonical ubuntu_linux 12.04
CVE-2016-4355 MEDIUM

Multiple integer overflows in ber-decoder.c in Libksba before 1.3.3 allow remote attackers to cause a denial of service (crash) via crafted BER data, which leads to a buffer overflow.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-119,

Products Affected

Vendor Product Version
canonical ubuntu_linux 14.04
gnupg libksba *
canonical ubuntu_linux 12.04
CVE-2016-4356 MEDIUM

The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 allows remote attackers to cause a denial of service (out-of-bounds read) by clearing the high bit of the byte after invalid utf-8 encoded data.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-119,

Products Affected

Vendor Product Version
canonical ubuntu_linux 14.04
gnupg libksba *
canonical ubuntu_linux 12.04
CVE-2016-4574 MEDIUM

Off-by-one error in the append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.4 allows remote attackers to cause a denial of service (out-of-bounds read) via invalid utf-8 encoded data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-4356.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-189,

Products Affected

Vendor Product Version
opensuse leap 42.1
canonical ubuntu_linux 14.04
opensuse opensuse 13.2
canonical ubuntu_linux 16.04
gnupg libksba *
canonical ubuntu_linux 15.10
canonical ubuntu_linux 12.04
CVE-2016-4579 MEDIUM

Libksba before 1.3.4 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via unspecified vectors, related to the "returned length of the object from _ksba_ber_parse_tl."

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,

Products Affected

Vendor Product Version
opensuse leap 42.1
canonical ubuntu_linux 14.04
canonical ubuntu_linux 16.04
gnupg libksba *
canonical ubuntu_linux 15.10
canonical ubuntu_linux 12.04
CVE-2016-6313 MEDIUM

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.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-200,

Products Affected

Vendor Product Version
gnupg libgcrypt 1.6.5
canonical ubuntu_linux 14.04
gnupg libgcrypt 1.6.2
gnupg libgcrypt 1.6.1
gnupg gnupg *
gnupg libgcrypt 1.6.0
gnupg libgcrypt 1.6.4
gnupg libgcrypt 1.7.1
gnupg libgcrypt 1.7.2
canonical ubuntu_linux 16.04
debian debian_linux 8.0
gnupg libgcrypt 1.7.0
canonical ubuntu_linux 12.04
gnupg libgcrypt *
gnupg libgcrypt 1.6.3
CVE-2017-0379 MEDIUM

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.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-200,

Products Affected

Vendor Product Version
debian debian_linux 9.0
gnupg libgcrypt *
CVE-2017-7526 MEDIUM

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 computation. This side-channel requires that attacker can run arbitrary software on the hardware where the private RSA key is used.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-200,CWE-310,

Products Affected

Vendor Product Version
canonical ubuntu_linux 14.04
canonical ubuntu_linux 16.04
debian debian_linux 8.0
canonical ubuntu_linux 12.04
debian debian_linux 9.0
gnupg libgcrypt *
CVE-2017-9526 MEDIUM

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 constant-time point operations are used in the MPI library.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-200,

Products Affected

Vendor Product Version
gnupg libgcrypt *
CVE-2018-0495 LOW

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 Number Problem or ROHNP. To discover an ECDSA key, the attacker needs access to either the local machine or a different virtual machine on the same physical host.

CVSS 2.0

Severity: LOW

Problem Type: CWE-203,

Products Affected

Vendor Product Version
redhat enterprise_linux_desktop 7.0
canonical ubuntu_linux 17.10
canonical ubuntu_linux 18.04
canonical ubuntu_linux 14.04
redhat enterprise_linux_workstation 7.0
redhat ansible_tower 3.3
debian debian_linux 9.0
redhat enterprise_linux_server 7.0
canonical ubuntu_linux 18.10
oracle traffic_director 11.1.1.9.0
canonical ubuntu_linux 16.04
debian debian_linux 8.0
canonical ubuntu_linux 12.04
gnupg libgcrypt *
CVE-2018-1000858 MEDIUM

GnuPG version 2.1.12 - 2.2.11 contains a Cross ite Request Forgery (CSRF) vulnerability in dirmngr that can result in Attacker controlled CSRF, Information Disclosure, DoS. This attack appear to be exploitable via Victim must perform a WKD request, e.g. enter an email address in the composer window of Thunderbird/Enigmail. This vulnerability appears to have been fixed in after commit 4a4bb874f63741026bd26264c43bb32b1099f060.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-352,

Products Affected

Vendor Product Version
canonical ubuntu_linux 18.10
canonical ubuntu_linux 18.04
gnupg gnupg *
CVE-2018-12020 MEDIUM

mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and verification actions, which allows remote attackers to spoof the output that GnuPG sends on file descriptor 2 to other programs that use the "--status-fd 2" option. For example, the OpenPGP data might represent an original filename that contains line feed characters in conjunction with GOODSIG or VALIDSIG status codes.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N 3.9 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-706,

Products Affected

Vendor Product Version
redhat enterprise_linux_desktop 7.0
canonical ubuntu_linux 17.10
canonical ubuntu_linux 18.04
canonical ubuntu_linux 14.04
redhat enterprise_linux_workstation 7.0
redhat enterprise_linux_server_tus 7.6
gnupg gnupg *
debian debian_linux 9.0
redhat enterprise_linux_server 7.0
canonical ubuntu_linux 18.10
redhat enterprise_linux_server 6.0
redhat enterprise_linux_server_aus 7.6
redhat enterprise_linux_server_eus 7.5
redhat enterprise_linux_server_eus 7.6
redhat enterprise_linux_desktop 6.0
canonical ubuntu_linux 16.04
canonical ubuntu_linux 19.04
debian debian_linux 8.0
redhat enterprise_linux_workstation 6.0
canonical ubuntu_linux 12.04
CVE-2018-6829 MEDIUM

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). The Decisional Diffie-Hellman (DDH) assumption does not hold for Libgcrypt's ElGamal implementation.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-327,

Products Affected

Vendor Product Version
gnupg libgcrypt *
CVE-2018-9234 MEDIUM

GnuPG 2.2.4 and 2.2.5 does not enforce a configuration in which key certification requires an offline master Certify key, which results in apparently valid certifications that occurred only with access to a signing subkey.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-320,

Products Affected

Vendor Product Version
canonical ubuntu_linux 17.10
gnupg gnupg 2.2.4
canonical ubuntu_linux 18.04
canonical ubuntu_linux 14.04
canonical ubuntu_linux 16.04
gnupg gnupg 2.2.5
CVE-2019-12904 MEDIUM

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 vendor's position is that the issue report cannot be validated because there is no description of an attack

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 5.9 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 2.2 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-668,

Products Affected

Vendor Product Version
gnupg libgcrypt 1.8.4
opensuse leap 15.0
CVE-2019-13050 MEDIUM

Interaction between the sks-keyserver code through 1.2.0 of the SKS keyserver network, and GnuPG through 2.2.16, makes it risky to have a GnuPG keyserver configuration line referring to a host on the SKS keyserver network. Retrieving data from this network may cause a persistent denial of service, because of a Certificate Spamming Attack.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 3.9 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-295,

Products Affected

Vendor Product Version
opensuse leap 15.1
fedoraproject fedora 29
gnupg gnupg *
f5 traffix_signaling_delivery_controller *
fedoraproject fedora 30
opensuse leap 15.0
sks_keyserver_project sks_keyserver *
CVE-2019-14855 MEDIUM

A flaw was found in the way certificate signatures could be forged using collisions found in the SHA-1 algorithm. An attacker could use this weakness to create forged certificate signatures. This issue affects GnuPG versions before 2.2.18.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 3.9 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-326,CWE-326,

Products Affected

Vendor Product Version
fedoraproject fedora 31
canonical ubuntu_linux 18.04
gnupg gnupg *
fedoraproject fedora 30
CVE-2020-25125 MEDIUM

GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or possibly unspecified other impact, when a victim imports an attacker's OpenPGP key, and this key has AEAD preferences. The overflow is caused by a g10/key-check.c error. NOTE: GnuPG 2.3.x is unaffected. GnuPG 2.2.23 is a fixed version.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.8 HIGH CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 1.8 5.9

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-120,

Products Affected

Vendor Product Version
gpg4win gpg4win 3.1.12
gnupg gnupg 2.2.22
gnupg gnupg 2.2.21
CVE-2021-3345 HIGH

_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.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.8 HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 1.8 5.9

CVSS 2.0

Severity: HIGH

Problem Type: CWE-787,

Products Affected

Vendor Product Version
gnupg libgcrypt 1.9.0
oracle communications_billing_and_revenue_management 12.0.0.3.0
CVE-2021-33560 MEDIUM

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.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-203,CWE-325,

Products Affected

Vendor Product Version
oracle communications_cloud_native_core_network_repository_function 1.15.0
oracle communications_cloud_native_core_network_slice_selection_function 1.8.0
oracle communications_cloud_native_core_network_repository_function 1.14.0
oracle communications_cloud_native_core_service_communication_proxy 1.15.0
oracle communications_cloud_native_core_binding_support_function 1.11.0
debian debian_linux 9.0
oracle communications_cloud_native_core_network_function_cloud_native_environment 1.10.0
oracle communications_cloud_native_core_network_function_cloud_native_environment 1.9.0
fedoraproject fedora 34
oracle communications_cloud_native_core_network_repository_function 1.15.1
fedoraproject fedora 33
gnupg libgcrypt *
CVE-2021-40528 LOW

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, and the sender's ephemeral exponents can lead to a cross-configuration attack against OpenPGP.

CVSS 2.0

Severity: LOW

Problem Type: CWE-327,CWE-327,

Products Affected

Vendor Product Version
gnupg libgcrypt *
CVE-2022-3219

GnuPG can be made to spin on a relatively small input by (for example) crafting a public key with thousands of signatures attached, compressed down to just a few KB.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 5.5 MEDIUM CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 1.8 3.6

Products Affected

Vendor Product Version
gnupg gnupg -
CVE-2022-34903 MEDIUM

GnuPG through 2.3.6, in unusual situations where an attacker possesses any secret-key information from a victim's keyring and other constraints (e.g., use of GPGME) are met, allows signature forgery via injection into the status line.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 6.5 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N 2.2 4.2

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-74,

Products Affected

Vendor Product Version
netapp ontap_select_deploy_administration_utility -
fedoraproject fedora 36
debian debian_linux 11.0
netapp active_iq_unified_manager -
gnupg gnupg *
debian debian_linux 10.0
fedoraproject fedora 35
CVE-2022-3515

A vulnerability was found in the Libksba library due to an integer overflow within the CRL parser. The vulnerability can be exploited remotely for code execution on the target system by passing specially crafted data to the application, for example, a malicious S/MIME attachment.

Products Affected

Vendor Product Version
gpg4win gpg4win *
libksba_project libksba *
gnupg vs-desktop *
gnupg gnupg *
CVE-2025-30258

In GnuPG before 2.5.5, if a user chooses to import a certificate with certain crafted subkey data that lacks a valid backsig or that has incorrect usage flags, the user loses the ability to verify signatures made from certain other signing keys, aka a "verification DoS."

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 4.7 MEDIUM CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H 1.0 3.6
cve@mitre.org 2.7 LOW CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:N/A:L 1.0 1.4

Products Affected

Vendor Product Version
gnupg gnupg *
CVE-2025-68972

In GnuPG through 2.4.8, if a signed message has \f at the end of a plaintext line, an adversary can construct a modified message that places additional text after the signed material, such that signature verification of the modified message succeeds (although an "invalid armor" message is printed during verification). This is related to use of \f as a marker to denote truncation of a long plaintext line.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
cve@mitre.org 5.9 MEDIUM CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N 1.4 4.0

Products Affected

Vendor Product Version
gnupg gnupg *
CVE-2025-68973

In GnuPG before 2.4.9, armor_filter in g10/armor.c has two increments of an index variable where one is intended, leading to an out-of-bounds write for crafted input. (For ExtendedLTS, 2.2.51 and later are fixed versions.)

CVSS 3.x

Source Score Severity Vector Exploitability Impact
cve@mitre.org 7.8 HIGH CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N 1.4 5.8

Products Affected

Vendor Product Version
gnupg gnupg *
CVE-2026-24881

In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based buffer overflow in gpg-agent during PKDECRYPT--kem=CMS handling. This can easily be leveraged for denial of service; however, there is also memory corruption that could lead to remote code execution.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
cve@mitre.org 8.1 HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 2.2 5.9

Products Affected

Vendor Product Version
gpg4win gpg4win *
gnupg gnupg *
CVE-2026-24882

In GnuPG before 2.5.17, a stack-based buffer overflow exists in tpm2daemon during handling of the PKDECRYPT command for TPM-backed RSA and ECC keys.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
cve@mitre.org 8.4 HIGH CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2.5 5.9

Products Affected

Vendor Product Version
gpg4win gpg4win *
gnupg gnupg *
CVE-2026-24883

In GnuPG before 2.5.17, a long signature packet length causes parse_signature to return success with sig->data[] set to a NULL value, leading to a denial of service (application crash).

CVSS 3.x

Source Score Severity Vector Exploitability Impact
cve@mitre.org 3.7 LOW CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L 2.2 1.4

Products Affected

Vendor Product Version
gpg4win gpg4win *
gnupg gnupg *
CVE-2026-41989

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

CVSS 3.x

Source Score Severity Vector Exploitability Impact
cve@mitre.org 6.7 MEDIUM CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H 1.4 5.2

Products Affected

Vendor Product Version
gnupg libgcrypt *
CVE-2026-41990

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

CVSS 3.x

Source Score Severity Vector Exploitability Impact
cve@mitre.org 4.0 MEDIUM CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L 1.4 2.5

Products Affected

Vendor Product Version
gnupg libgcrypt *