CVE-2026-24881 GnuPG: GnuPG: Remote code execution and denial of service via crafted CMS EnvelopedData message
CriticalCVSS 9.8
EPSS 1.8%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- DebianRed Hat
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.
Upgrade path
4 packages: 2 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat enterprise linux | = 7; = 8; = 9; = 10 +1 more | No fix listed | No fix yet |
| redhat/gnupg2(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| GnuPG | >= 2.5.13, < 2.5.17 | 2.5.17 | Fixed |
| gpg4win | >= 5.0.0, < 5.0.1 | 5.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GnuPG | >= 2.5.13, < 2.5.17 | 2.5.17 |
| redhat enterprise linux | = 10 | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat enterprise linux | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat/gnupg2(Red Hat:rhel_els:6) | All versions | No fix listed |
| gpg4win | >= 5.0.0, < 5.0.1 | 5.0.1 |
References
- www.openwall.com mailing-list third-party-advisory
- dev.gnupg.org exploit product
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2433480 issue-tracking
- security.access.redhat.com
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-24881 vendor-advisory