Skip to content
OpenAdvisories
Unscored CVE-2020-25125 EUVD-2020-17816GHSA-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 possibly unspecified other impact, when a victim …

Published Sep 3, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gpg2 2.2.27-2.4 openSUSE-SU-2024:10815-1
ReleasePackageFixed inAdvisory
Alpine v3.24 gnupg 2.2.23-r0 —
Alpine v3.23 gnupg 2.2.23-r0 —
Alpine v3.22 gnupg 2.2.23-r0 —
Alpine v3.21 gnupg 2.2.23-r0 —
Alpine v3.20 gnupg 2.2.23-r0 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 gnupg 2.2.23-r0 —
Alpine v3.18 gnupg 2.2.23-r0 —
Alpine v3.17 gnupg 2.2.23-r0 —
Alpine v3.16 gnupg 2.2.23-r0 —
Alpine v3.15 gnupg 2.2.23-r0 —
Alpine v3.14 gnupg 2.2.23-r0 —
Alpine v3.13 gnupg 2.2.23-r0 —
Alpine v3.12 gnupg 2.2.23-r0 —

Advisories 1

References