Skip to content
OpenAdvisories
Low · 2.9 Public exploit CVE-2026-57062 EUVD-2026-38550GHSA-m6x2-4hhh-669j

CMS (Cryptographic Message Syntax) parsing in gpgsm in GnuPG through 2.5.20 mishandles the CMS format for AES-GCM because aes-ICVlen is sup…

Published Jun 23, 2026 · Updated Jun 23, 2026 · Assigned by mitre

Description

CMS (Cryptographic Message Syntax) parsing in gpgsm in GnuPG through 2.5.20 mishandles the CMS format for AES-GCM because aes-ICVlen is supposed to be 12 bytes but 4 bytes is accepted. NOTE: this is related to CVE-2026-34182.

Affected products

VendorProductAffectedFixed
GnuPG GnuPG ≤ 2.5.20 —

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
Debian 14 gnupg2 2.4.9-5 —
Debian 13 gnupg2 No fix yet —
Debian 12 gnupg2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS gnupg2 2.4.8-4ubuntu3.1 USN-8720-1
Ubuntu 25.10 gnupg2 No fix yet —
Ubuntu 24.04 LTS gnupg2 2.4.4-2ubuntu17.6 USN-8720-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 gnupg2 +10 2.4.9-18.3.hum1 RHSA-2026:82418
ReleasePackageFixed inAdvisory
SLES 15 SP7 gpg2 2.4.4-150600.3.18.1 SUSE-SU-2026:3243-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 gpg2 2.5.5-160000.6.1 SUSE-SU-2026:22825-1
SLES 16.0 gpg2 2.5.5-160000.6.1 SUSE-SU-2026:22825-1
SLE Micro 6.2 gpg2 2.5.5-160000.6.1 SUSE-SU-2026:22757-1
SLE Micro 6.1 gpg2 2.4.4-slfo.1.1_9.1 SUSE-SU-2026:22923-1
SLE Micro 6.0 gpg2 2.4.4-9.1 SUSE-SU-2026:23007-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gpg2 2.5.21-1.1 openSUSE-SU-2026:11213-1
openSUSE Leap 16.0 gpg2 2.5.5-160000.6.1 openSUSE-SU-2026:21385-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 gnupg2 +2 2.3.7-1.amzn2023.0.9 ALAS2023-2026-1912

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 gnupg2 2.4.9-3 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling gnupg 2.4.9-r10 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 11

References