CVE-2026-24881

published 27 Jan 2026 · updated 15 Jul 2026

In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based…

8.1HighCVSS 8.1EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 2.5.17.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gnupg>=2.5.13 <2.5.172.5.17

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-24881 severity on Zeptric[![CVE-2026-24881](https://zeptric.io/badge/cve/CVE-2026-24881.svg)](https://zeptric.io/cve/CVE-2026-24881)