Buffer overflow in Gnupg

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.013, 70.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Gnupg — versions 2.2.21, 2.2.22
  • Gpg4win — versions 3.1.12

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (404notf0und/CVE-Flow). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References