| Name | CVE-2026-24882 |
| Description | In GnuPG before 2.5.17, a stack-based buffer overflow exists in tpm2daemon during handling of the PKDECRYPT command for TPM-backed RSA and ECC keys. |
| 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) |
| Debian Bugs | 1126631 |
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 | fixed |
| trixie | 2.4.7-21+deb13u1 | vulnerable |
| forky, sid | 2.4.8-5 | vulnerable |
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 | bookworm | (not affected) | | | |
| gnupg2 | source | (unstable) | (unfixed) | | | 1126631 |
Notes
[trixie] - gnupg2 <no-dsa> (Minor issue)
[bookworm] - gnupg2 <not-affected> (Vulnerable code introduced later)
[bullseye] - gnupg2 <not-affected> (tpm2daemon introduced later in v2.3.0)
https://dev.gnupg.org/T8045
Introduced after: https://github.com/gpg/gnupg/commit/62a7854816b8f3661fb41f05463289e5b96663ee (Beta-2.3.0-beta1655)