Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-24882: In GnuPG before 2.5.17, a stack-based buffer overflow exists in tpm2daemon during handling of the PKDECRYPT co

44
This month
HIGH 8.4UPGRADEUPGRADE

CVE-2026-24882 is a high-severity flaw (CVSS 8.4) affecting gnupg, gpg4win. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score8.4 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.4% (top 62%)
CISA exploited listNo
WeaknessCWE-121
Published2026-01-27
Last modified2026-07-15
Publisher (CNA): MITRE · Vendor: gnupg · gpg4win

Share: LinkedIn · X · Reddit

Last updated 2026-07-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

gnupg gnupg UPGRADE
Affected: >= 2.5.13 and < 2.5.17
Fixed in: 2.5.17
Safe to downgrade to: a release before 2.5.13
1. Check installed version
apt-cache policy gnupg || rpm -q gnupg || gnupg --version
2. UPGRADE to 2.5.17 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade gnupg
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade gnupg
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.5.13 (Debian / Ubuntu)
apt-cache madison gnupg sudo apt install gnupg=<VERSION_BEFORE_2.5.13> sudo apt-mark hold gnupg
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list gnupg sudo dnf downgrade gnupg-<VERSION_BEFORE_2.5.13> sudo dnf versionlock add gnupg
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
gpg4win gpg4win UPGRADE
Affected: >= 5.0.0 and < 5.0.1
Fixed in: 5.0.1
Safe to downgrade to: a release before 5.0.0
1. Check installed version
apt-cache policy gpg4win || rpm -q gpg4win || gpg4win --version
2. UPGRADE to 5.0.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade gpg4win
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade gpg4win
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 5.0.0 (Debian / Ubuntu)
apt-cache madison gpg4win sudo apt install gpg4win=<VERSION_BEFORE_5.0.0> sudo apt-mark hold gpg4win
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list gpg4win sudo dnf downgrade gpg4win-<VERSION_BEFORE_5.0.0> sudo dnf versionlock add gpg4win
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-24882?

gnupg: upgrade to 2.5.17; gpg4win: upgrade to 5.0.1. Exact commands for each OS are on this page.

Is CVE-2026-24882 being exploited?

CVE-2026-24882 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-24882 affect?

CVE-2026-24882 affects gnupg, gpg4win. Severity is high (CVSS 8.4). 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.

How urgent is CVE-2026-24882?

Priority 44/100. High severity; Public exploit reference

Software pages

GnuPG vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.