CVE-2026-24881: gnupg Stack-based Buffer Overflow
Vulnerability summary
CVE-2026-24881 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in gnupg. EPSS estimates a 1.84% chance of exploitation in the next 30 days, higher than 78.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 27-01-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
Description
In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based buffer overflow in gpg-agent during PKDECRYPT--kem=CMS handling. This can easily be leveraged for denial of service; however, there is also memory corruption that could lead to remote code execution.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.84%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
+0.12 pp
From 1.72% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (dev.gnupg.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
2 vendors · 2 products