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 |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-01-27 19:16
Updated : 2026-02-12 18:15
NVD link : CVE-2026-24881
Mitre link : CVE-2026-24881
CVE.ORG link : CVE-2026-24881
JSON object : View
Products Affected
gnupg
- gnupg
gpg4win
- gpg4win
CWE
CWE-121
Stack-based Buffer Overflow
