Read the docs
TI-2020-15371 Aliases CVE-2020-25125GHSA-g8h3-hp92-c5qx

GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or…

Priority LOW 37CWE-120Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.01283 70th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:gnupg:gnupg:2.2.21:*:*:*:*:*:*:*2.2.21VulnerableGnuPG
cpe:2.3:a:gnupg:gnupg:2.2.22:*:*:*:*:*:*:*2.2.22VulnerableGnuPG
cpe:2.3:a:gpg4win:gpg4win:3.1.12:*:*:*:*:*:*:*3.1.12VulnerableGpg4win
  • cpe:2.3:a:gnupg:gnupg:2.2.21:*:*:*:*:*:*:* Versions 2.2.21 Vulnerable ·GnuPG
  • cpe:2.3:a:gnupg:gnupg:2.2.22:*:*:*:*:*:*:* Versions 2.2.22 Vulnerable ·GnuPG
  • cpe:2.3:a:gpg4win:gpg4win:3.1.12:*:*:*:*:*:*:* Versions 3.1.12 Vulnerable ·Gpg4win

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 4 products
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-25125
  2. 2026-10-03 Alias added: GHSA-g8h3-hp92-c5qx

References

Sources