CVE-2020-25125

HIGHCVSS 7.8/10EPSS 1.28%

Last modified

CVE-2020-25125 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 1.28% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
1.28%

66.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GnupgGnupg2.2.21
GnupgGnupg2.2.22
Gpg4winGpg4win3.1.12

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2020-25125?
CVE-2020-25125 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 1.28% probability of exploitation in the next 30 days.
How do I fix CVE-2020-25125?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-25125?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST