Buffer overflow in Gnupg
CVE-2026-24881
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.
Vulnerability class: Buffer Overflow
EPSS: 0.017 (74.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
Weakness classification (CWE)
References
- cve@mitre.org (Mailing List, Third Party Advisory)
- cve@mitre.org (Product, Exploit)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Frequently asked questions
- What is CVE-2026-24881?
- CVE-2026-24881 is a high-severity vulnerability in Gnupg, classified under Stack-based Buffer Overflow. CVSS score: 8.1/10. Published 2026-01-27.
- How severe is CVE-2026-24881?
- High severity. CVSS v3 base score is 8.1 out of 10.