CVE-2020-25125

Exp

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.

Published: 2020-09-03 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2020-25125 is rated High Exploit Risk (70.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.28%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2020-25125

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2020-25125

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.32% 1.28% +0.96%
2 2026-05-26 0.42% 0.32% -0.10%
3 2026-02-18 0.42%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2020-25125

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 6.4 [email protected]

Weakness enumeration for CVE-2020-25125

OS Trackers for CVE-2020-25125

vendor priority summary link
alpine high CVE-2020-25125: 1 source package rows (gnupg); 10 state rows across 8 repos (3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 0. https://security.alpinelinux.org/vuln/CVE-2020-25125
debian unimportant CVE-2020-25125 unimportant priority: Debian including 1 source packages (gnupg2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2020-25125
redhat medium https://access.redhat.com/security/cve/CVE-2020-25125
ubuntu medium CVE-2020-25125 medium priority: Ubuntu including 1 source packages (gnupg2), 5 status rows across 5 suites (bionic, focal, trusty, upstream, xenial): not-affected 3, DNE 1, released 1. https://ubuntu.com/security/CVE-2020-25125

Affected software / configurations for CVE-2020-25125

Vendor Product Version Raw CPE
gnupg gnupg 2.2.21 cpe:2.3:a:gnupg:gnupg:2.2.21:*:*:*:*:*:*:*
gnupg gnupg 2.2.22 cpe:2.3:a:gnupg:gnupg:2.2.22:*:*:*:*:*:*:*
gpg4win gpg4win 3.1.12 cpe:2.3:a:gpg4win:gpg4win:3.1.12:*:*:*:*:*:*:*

References for CVE-2020-25125

cvelogic Threat Intelligence