What’s Vulnerable › Vulnerabilities

CVE-2026-24881

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.

Affected products

How to fix

Upgrade to a fixed version: GnuPG 2.5.17; Gpg4Win 5.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-24881 or the next vulnerability affects your stack