CVE-2026-24881

Severity CVSS v4.0:
Pending analysis
Type:
CWE-121 Stack-based Buffer Overflow
Publication date:
27/01/2026
Last modified:
12/02/2026

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:gnupg:gnupg:*:*:*:*:-:*:*:* 2.5.13 (including) 2.5.17 (excluding)
cpe:2.3:a:gpg4win:gpg4win:*:*:*:*:*:*:*:* 5.0.0 (including) 5.0.1 (excluding)