Buffer overflow in Gnupg
CVE-2020-25125
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.013, 70.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (404notf0und/CVE-Flow). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.opensuse.org/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc (Patch, Vendor Advisory)
- lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html (Vendor Advisory)
- dev.gnupg.org/T5050 (Mailing List)
- [oss-security] 20200903 GNUPG released with AEAD sec fix CVE-2020-25125 (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20200903 CVE-2020-25125: gnupg2: buffer overflow when importing a key with AEAD preferences (mailing-list, Mailing List, Third Party Advisory)