CVE-2026-24881
Last modified
CVE-2026-24881 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.98% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnupg | Gnupg | >= 2.5.13, < 2.5.17 |
| Gpg4win | Gpg4win | >= 5.0.0, < 5.0.1 |
References
- https://dev.gnupg.org/T8044Exploit, Product
- https://www.openwall.com/lists/oss-security/2026/01/27/8Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-24881?
How severe is CVE-2026-24881?
How do I fix CVE-2026-24881?
Are you affected by CVE-2026-24881?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
