CVE-2026-24882 Memory corruption in GnuPG
A stack-based buffer overflow in GnuPG's tpm2daemon allows attackers to execute arbitrary code when handling TPM-backed keys.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-24882?
CVE-2026-24882 is a high-severity memory corruption vulnerability in GnuPG, published on 27 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-121
Which versions are affected by CVE-2026-24882?
It affects 2 products.
Linux distribution packages (19)
gnupg2 AlmaLinux:10 | All versions | 2.4.5-4.el10_1 |
gnupg2-smime AlmaLinux:10 | All versions | 2.4.5-4.el10_1 |
gnupg2 Red Hat:enterprise_linux:10.1 | All versions | 0:2.4.5-4.el10_1 |
gnupg2-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:2.4.5-4.el10_1 |
gnupg2-debugsource Red Hat:enterprise_linux:10.1 | All versions | 0:2.4.5-4.el10_1 |
gnupg2-smime Red Hat:enterprise_linux:10.1 | All versions | 0:2.4.5-4.el10_1 |
gnupg2-smime-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:2.4.5-4.el10_1 |
gnupg2 Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.4.5-2.el10_0.2 |
gnupg2-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.4.5-2.el10_0.2 |
gnupg2-debugsource Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.4.5-2.el10_0.2 |
gnupg2-smime Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.4.5-2.el10_0.2 |
gnupg2-smime-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.4.5-2.el10_0.2 |
gnupg2 Rocky Linux:10 | All versions | 0:2.4.5-4.el10_1 |
gpg2 SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 2.4.4-150600.3.15.1 |
gpg2 SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 2.4.4-150600.3.15.1 |
gpg2 SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | All versions | 2.4.4-150600.3.15.1 |
gpg2 SUSE:Linux Micro 6.0 | All versions | 2.4.4-7.1 |
gpg2 SUSE:Linux Micro 6.1 | All versions | 2.4.4-slfo.1.1_7.1 |
gpg2 openSUSE:Leap 15.6 | All versions | 2.4.4-150600.3.15.1 |
Products include Gnupg Gnupg, Gpg4win Gpg4win.
How do I fix CVE-2026-24882?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-24882 being exploited?
There is no known exploitation of CVE-2026-24882 in the wild and no public exploit code.
Other vulnerabilities in GnuPG
Sources
Also known as ALSA-2026:2719, AZL-75266, AZL-76146, BELL-CVE-2026-24882, DEBIAN-CVE-2026-24882, ECHO-cc02-a477-2575 and 14 more.