Stack-based Buffer Overflow Affecting gnupg package, versions [2.5.13,2.5.17)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GNUPG-15124056
  • published28 Jan 2026
  • disclosed27 Jan 2026
  • creditUnknown

Introduced: 27 Jan 2026

CVE-2026-24882  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade gnupg to version 2.5.17 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow in the tpm2daemon process when handling the PKDECRYPT command for TPM-backed RSA and ECC keys. An attacker can execute arbitrary code or cause a denial of service by sending specially crafted input to the affected process.

CVSS Base Scores

version 4.0
version 3.1