CVE-2026-24881

CRITICALCVSS 9.8/10EPSS 1.98%

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
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
1.98%

78.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GnupgGnupg>= 2.5.13, < 2.5.17
Gpg4winGpg4win>= 5.0.0, < 5.0.1

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is 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.
How severe is CVE-2026-24881?
CVE-2026-24881 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 1.98% probability of exploitation in the next 30 days.
How do I fix CVE-2026-24881?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2026-24881?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST