| Name | CVE-2026-57062 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| gnupg2 (PTS) | bullseye | 2.2.27-2+deb11u2 | fixed |
| bullseye (security) | 2.2.27-2+deb11u3 | fixed |
| bookworm | 2.2.40-1.1+deb12u2 | vulnerable |
| trixie | 2.4.7-21+deb13u1 | vulnerable |
| forky | 2.4.9-5 | fixed |
| sid | 2.4.9-7 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| gnupg2 | source | bullseye | (not affected) | | | |
| gnupg2 | source | (unstable) | 2.4.9-5 | | | |
Notes
[trixie] - gnupg2 <no-dsa> (Minor issue)
[bookworm] - gnupg2 <postponed> (Minor issue)
[bullseye] - gnupg2 <not-affected> (gpgsm GCM CMS-decrypt path not present; introduced after 2.2.27)
https://blog.calif.io/p/how-to-format-a-ciphertext
Fixed by: https://github.com/gpg/gnupg/commit/4c7e68cf3d335328821bdbb70db309a60d0e4fd4