CVE-2020-25125: gnupg Classic Buffer Overflow
Vulnerability summary
CVE-2020-25125 is a high (CVSS 7.8) Classic Buffer Overflow vulnerability in gnupg. EPSS estimates a 1.28% chance of exploitation in the next 30 days, higher than 69.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 3Timeline
- 03-09-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.28%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
0.00 pp
From 1.28% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (bugzilla.opensuse.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- gnupg< 2.2.23-r0
Chainguard1 product
- gnupgAll versions (No fix recorded)
Gnupg1 product
- gnupg2.2.21 | 2.2.22
Gpg4win1 product
- gpg4win3.1.12
Wolfi1 product
- gnupgAll versions (No fix recorded)
5 vendors · 5 products
References
7 links- bugzilla.opensuse.org/show_bug.cgi?id=1176034X Refsource MISCREPORTExploitIssue TrackingThird Party Advisory
- www.openwall.com/lists/oss-security/2020/09/03/4Mailing ListX Refsource MLISTAdvisoryThird Party Advisory
- www.openwall.com/lists/oss-security/2020/09/03/5Mailing ListX Refsource MLISTAdvisoryThird Party Advisory