# 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 buff…

- Severity: High 8.1 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.80%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-27T18:36:56.727Z
- Modified: 2026-07-15T02:18:52.100Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- GnuPG GnuPG: from 2.5.13 before 2.5.17
- gnupg2: no versions given
- gpg4win gpg4win: from 5.0.0 before 5.0.1

## Every score

- mitre: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://dev.gnupg.org/T8044> (exploit, product)
- <https://www.openwall.com/lists/oss-security/2026/01/27/8> (mailing-list, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-24881> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2433480> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24881.json>

## Sources

- CVE List: [CVE-2026-24881](https://www.cve.org/CVERecord?id=CVE-2026-24881), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-24881](https://nvd.nist.gov/vuln/detail/CVE-2026-24881), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-24881 · Whole record: https://cve.day/CVE-2026-24881.json · Rebuilt by cve.day 2026-11-25T22:59:13.239Z
