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.
Published:Jan 27, 2026
Last Modified:Apr 18, 2026
EPS:Jan 27, 2026
EPSS Score:0.00205
CVSS Score:8.1
Affected Products
Vendor
Product
Action
Vendor
Gnupg
Product
Gnupg
Gnupg
Gnupg
Vendor
Gpg4win
Product
Gpg4win
Gpg4win
Gpg4win
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
No CAPEC recorded yet
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
