# JLSEC-2026-564: In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped...

- Severity: Critical 9.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/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
- Published: 2026-05-27T18:18:39.624Z
- Modified: 2026-07-25T18:24:38.457Z
- Related: CVE-2026-24881, GHSA-5w36-x85h-pphm, EUVD-2026-4768

## 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 Julia Security Advisories.)

## Affected

- GnuPG_jll (Julia): from 2.5.16+0 before 2.5.17+0

## References

- <https://access.redhat.com/security/cve/CVE-2026-24881> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2433480> (web)
- <https://dev.gnupg.org/T8044> (web)
- <https://github.com/advisories/GHSA-5w36-x85h-pphm> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24881> (web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24881.json> (web)
- <https://www.openwall.com/lists/oss-security/2026/01/27/8> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-564](https://osv.dev/vulnerability/JLSEC-2026-564), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-564 · Whole record: https://cve.day/JLSEC-2026-564.json · Rebuilt by cve.day 2026-11-25T22:56:26.160Z
