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

Configuration 1 (hide)

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

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