CVE-2026-24882

NameCVE-2026-24882
DescriptionIn 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.
SourceCVE (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 Bugs1126631

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gnupg2 (PTS)bullseye2.2.27-2+deb11u2fixed
bullseye (security)2.2.27-2+deb11u3fixed
bookworm2.2.40-1.1+deb12u2fixed
trixie2.4.7-21+deb13u1vulnerable
forky, sid2.4.8-5vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gnupg2sourcebullseye(not affected)
gnupg2sourcebookworm(not affected)
gnupg2source(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)

Search for package or bug name: Reporting problems