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.
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)

OR cpe:2.3:a:gnupg:gnupg:*:*:*:*:-:*:*:*
cpe:2.3:a:gpg4win:gpg4win:*:*:*:*:*:*:*:*

History

12 Feb 2026, 18:15

Type Values Removed Values Added
CPE cpe:2.3:a:gnupg:gnupg:*:*:*:*:-:*:*:*
cpe:2.3:a:gpg4win:gpg4win:*:*:*:*:*:*:*:*
First Time Gnupg gnupg
Gpg4win
Gnupg
Gpg4win gpg4win
References () https://dev.gnupg.org/T8044 - () https://dev.gnupg.org/T8044 - Exploit, Product
References () https://www.openwall.com/lists/oss-security/2026/01/27/8 - () https://www.openwall.com/lists/oss-security/2026/01/27/8 - Mailing List, Third Party Advisory

27 Jan 2026, 19:16

Type Values Removed Values Added
New CVE

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

gpg4win

  • gpg4win

gnupg

  • gnupg
CWE
CWE-121

Stack-based Buffer Overflow