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.
References
| Link | Resource |
|---|---|
| https://dev.gnupg.org/T8044 | Exploit Product |
| https://www.openwall.com/lists/oss-security/2026/01/27/8 | Mailing List Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2026-24881 | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2433480 | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24881.json |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-01-27 19:16
Updated : 2026-07-15 02:18
NVD link : CVE-2026-24881
Mitre link : CVE-2026-24881
CVE.ORG link : CVE-2026-24881
JSON object : View
Products Affected
gpg4win
- gpg4win
gnupg
- gnupg
CWE
CWE-121
Stack-based Buffer Overflow
