CVE-2026-24882CWE-121

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

High · published January 27, 2026

CVSS v3.1
8.4
EPSS
0%
Percentile
37.0
In the wild
Unconfirmed
What it is

⚡ A stack-based buffer overflow lurks in GnuPG before version 2.5.17, just waiting for the wrong PKDECRYPT command to spark an explosive chain reaction! 🔥 Think of it like a jenga tower: one wrong move in handling these commands could send the whole stack crashing down, exposing sensitive data as it tumbles. This vulnerability could allow an attacker to execute arbitrary code, potentially compromising the integrity of your TPM-backed keys. Imagine a situation where confidential information is laid bare, creating chaos in your security landscape—all because of a single misstep in the PKDECRYPT process.

Put simply

Think of it like a jenga tower: one wrong move in handling these commands could send the whole stack crashing down, exposing sensitive data as it tumbles. The buffer overflow occurs when the tpm2daemon improperly handles input for the PKDECRYPT command, allowing memory corruption that can lead to remote code execution.

What to do

This vulnerability could allow an attacker to execute arbitrary code, potentially compromising the integrity of your TPM-backed keys. Imagine a situation where confidential information is laid bare, creating chaos in your security landscape—all because of a single misstep in the PKDECRYPT process. Upgrade your GnuPG to version 2.5.17 immediately to patch this vulnerability. Additionally, review your usage of TPM-backed keys to ensure no unexpected behavior is present. Regularly auditing your software can help catch issues like this before they escalate. You've got this! Follow these steps, and you'll fortify your defenses in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.4 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00438 · 37.0th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2026-01-27T18:40Z
EPSS history
Timeline
  • 27 JAN 18:40Z
    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
    cvelistv5