Vulnerabilities · 2020 · Gnupg
CVE-2020-25125
Gnupg vulnerability
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.
Affected products
Gnupg, Gpg4win. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnupg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc · Patch
- lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html · Vendor Advisory
- www.openwall.com/lists/oss-security/2020/09/03/4 · Third Party Advisory
- www.openwall.com/lists/oss-security/2020/09/03/5 · Third Party Advisory
- bugzilla.opensuse.org/show_bug.cgi?id=1176034 · Exploit
- dev.gnupg.org/T5050
- nvd.nist.gov/vuln/detail/CVE-2020-25125
- cve.org/CVERecord?id=CVE-2020-25125
More vulnerabilities in Gnupg products
CVE-2026-24883CVE-2026-24882CVE-2025-68973CVE-2025-68972CVE-2025-30258CVE-2022-47629CVE-2022-34903CVE-2022-3515All 52
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.