Vulnerability record · CVE-2020-25125 · published 3 September 2020
CVE-2020-25125: Gnupg classic buffer overflow vulnerability
Gnupg · Gnupg
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.
Description
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.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2020/09/03/4 | Mailing ListThird Party Advisory |
| http://www.openwall.com/lists/oss-security/2020/09/03/5 | Mailing ListThird Party Advisory |
| https://bugzilla.opensuse.org/show_bug.cgi?id=1176034 | ExploitIssue TrackingThird Party Advisory |
| https://dev.gnupg.org/T5050 | Mailing List |
| https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc | PatchVendor Advisory |
| https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html | Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2020/09/03/4 | Mailing ListThird Party Advisory |
| http://www.openwall.com/lists/oss-security/2020/09/03/5 | Mailing ListThird Party Advisory |
| https://bugzilla.opensuse.org/show_bug.cgi?id=1176034 | ExploitIssue TrackingThird Party Advisory |
| https://dev.gnupg.org/T5050 | Mailing List |
| https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc | PatchVendor Advisory |
| https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html | Vendor Advisory |
Track CVE-2020-25125 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-25125), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.