← Back

Gnupg

gnupg

Vendor: Gnupg • 34 CVEs

CVEs (34)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
2Gnupg
Gpg4win
2Gnupg
Gpg4win
Feb 6, 2026
Jan 27, 2026
N/A· v4
5.5 MEDIUM· v3
N/A· v2
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).
2Gnupg
Gpg4win
2Gnupg
Gpg4win
Feb 12, 2026
Jan 27, 2026
N/A· v4
9.8 CRITICAL· v3
N/A· v2
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 l...Show more
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.Show less
1Gnupg
1Gnupg
Jan 14, 2026
Dec 28, 2025
N/A· v4
7.0 HIGH· v3
N/A· v2
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...Show more
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.)Show less
1Gnupg
1Gnupg
Jan 9, 2026
Dec 27, 2025
N/A· v4
4.7 MEDIUM· v3
N/A· v2
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...Show more
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.Show less
1Gnupg
1Gnupg
Oct 16, 2025
Mar 19, 2025
N/A· v4
4.7 MEDIUM· v3
N/A· v2
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 ce...Show more
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."Show less
1Gnupg
1Gnupg
Mar 12, 2025
Feb 23, 2023
N/A· v4
3.3 LOW· v3
N/A· v2
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.
2Gnupg
Gpg4win
4Gnupg
Gpg4winLibksba+1 more
Apr 8, 2025
Jan 12, 2023
N/A· v4
9.8 CRITICAL· v3
N/A· v2
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...Show more
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.Show less
4Debian
FedoraprojectGnupg+1 more
5Active Iq Unified Manager
Debian LinuxFedora+2 more
Nov 21, 2024
Jul 1, 2022
N/A· v4
6.5 MEDIUM· v3
5.8 MEDIUM· v2
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 th...Show more
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.Show less
2Gnupg
Gpg4win
2Gnupg
Gpg4win
Nov 21, 2024
Sep 3, 2020
N/A· v4
7.8 HIGH· v3
6.8 MEDIUM· v2
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 overflo...Show more
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.Show less
3Canonical
FedoraprojectGnupg
3Fedora
GnupgUbuntu Linux
Nov 21, 2024
Mar 20, 2020
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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 vers...Show more
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.Show less
2Debian
Gnupg
3Debian Linux
GnupgLibgcrypt
Nov 21, 2024
Nov 29, 2019
N/A· v4
5.9 MEDIUM· v3
4.3 MEDIUM· v2
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,...Show more
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."Show less
2Debian
Gnupg
3Debian Linux
GnupgLibgcrypt
Nov 21, 2024
Nov 29, 2019
N/A· v4
4.2 MEDIUM· v3
1.9 LOW· v2
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 cr...Show more
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.Show less
3Debian
GnupgRedhat
3Debian Linux
Enterprise LinuxGnupg
Nov 21, 2024
Nov 27, 2019
N/A· v4
5.3 MEDIUM· v3
5.0 MEDIUM· v2
dirmngr before 2.1.0 improperly handles certain system calls, which allows remote attackers to cause a denial of service (DOS) via a specially-crafted certificate.
2Canonical
Gnupg
2Gnupg
Ubuntu Linux
Nov 21, 2024
Nov 20, 2019
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
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) vi...Show more
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."Show less
2Debian
Gnupg
2Debian Linux
Gnupg
Nov 21, 2024
Nov 20, 2019
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
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.
5F5
FedoraprojectGnupg+2 more
5Fedora
GnupgLeap+2 more
Nov 21, 2024
Jun 29, 2019
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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 networ...Show more
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.Show less
2Canonical
Gnupg
2Gnupg
Ubuntu Linux
Nov 21, 2024
Dec 20, 2018
N/A· v4
8.8 HIGH· v3
6.8 MEDIUM· v2
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...Show more
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.Show less
4Canonical
DebianGnupg+1 more
9Debian Linux
Enterprise Linux DesktopEnterprise Linux Server+6 more
Nov 21, 2024
Jun 8, 2018
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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...Show more
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.Show less
2Canonical
Gnupg
2Gnupg
Ubuntu Linux
Nov 21, 2024
Apr 4, 2018
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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 subke...Show more
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.Show less
3Canonical
DebianGnupg
4Debian Linux
GnupgLibgcrypt+1 more
May 6, 2026
Dec 13, 2016
N/A· v4
5.3 MEDIUM· v3
5.0 MEDIUM· v2
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 leveragin...Show more
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.Show less