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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gnupg2 | 2.4.9-5 | — |
| Debian 13 | gnupg2 | No fix yet | — |
| Debian 12 | gnupg2 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | gnupg2 +10 | 2.4.9-18.3.hum1 | RHSA-2026:82418 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | gnupg2 +2 | 2.3.7-1.amzn2023.0.9 | ALAS2023-2026-1912 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | gnupg2 | 2.4.9-3 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
GitHub 1 repository
-
goldendivider/gpgsm-cve-2026-57062-cms-gcm-short-tag ★ 0 · Sep 5, 2026
gpgsm CVE-2026-57062 exploit POC
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 11
- RHSA-2026:82418 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- WID-SEC-2026-2047 GnuPG: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Oct 13, 2026
- USN-8720-1 gnupg2 vulnerability Ubuntu Security Notices (USN) · Sep 3, 2026
- SUSE-SU-2026:23007-1 Security update for gpg2 SUSE / openSUSE Security Updates · Aug 12, 2026
- SUSE-SU-2026:3243-1 Security update for gpg2 SUSE / openSUSE Security Updates · Jul 28, 2026
- SUSE-SU-2026:22923-1 Security update for gpg2 SUSE / openSUSE Security Updates · Jul 28, 2026
- SUSE-SU-2026:22825-1 Security update for gpg2 SUSE / openSUSE Security Updates · Jul 28, 2026
- openSUSE-SU-2026:21385-1 Security update for gpg2 SUSE / openSUSE Security Updates · Jul 24, 2026
- SUSE-SU-2026:22757-1 Security update for gpg2 SUSE / openSUSE Security Updates · Jul 23, 2026
- openSUSE-SU-2026:11213-1 dirmngr-2.5.21-1.1 on GA media SUSE / openSUSE Security Updates · Jul 9, 2026
- ALAS2023-2026-1912 Low: gnupg2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 7, 2026