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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| GnuPG | GnuPG | >= 2.5.13, < 2.5.17 |
| Red Hat | Red Hat Enterprise Linux 10 | — |
| Red Hat | Red Hat Enterprise Linux 6 | — |
| Red Hat | Red Hat Enterprise Linux 7 | — |
| Red Hat | Red Hat Enterprise Linux 8 | — |
| Red Hat | Red Hat Enterprise Linux 9 | — |
References
- https://dev.gnupg.org/T8044Exploit, Product
- https://www.openwall.com/lists/oss-security/2026/01/27/8Mailing List, Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2026-24881
- https://bugzilla.redhat.com/show_bug.cgi?id=2433480
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24881.json
Timeline
- Published
- Jan 27, 2026
- Last modified
- Jul 15, 2026
- NVD status
- Modified