CVE-2025-15467
Issue summary: Parsing CMS AuthEnvelopedData or EnvelopedData message with maliciously crafted AEAD parameters can trigger a stack buffer overflow. Impact summary: A stack buffer overflow may lead to a crash, causing Denial of Service, or potentially remote code execution. When parsing CMS (Auth)EnvelopedData structures that use AEAD ciphers such as AES-GCM, the IV (Initialization Vector) encoded in the ASN.1 parameters is copied into a fixed-size stack buffer without verifying that its length fits the destination. An attacker can supply a crafted CMS message with an oversized IV, causing a stack-based out-of-bounds write before any authentication or tag verification occurs. Applications and services that parse untrusted CMS or PKCS#7 content using AEAD ciphers (e.g., S/MIME (Auth)EnvelopedData with AES-GCM) are vulnerable. Because the overflow occurs prior to authentication, no valid key material is required to trigger it. While exploitability to remote code execution depends on platform and toolchain mitigations, the stack-based write primitive represents a severe risk. The FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue, as the CMS implementation is outside the OpenSSL FIPS module boundary. OpenSSL 3.6, 3.5, 3.4, 3.3 and 3.0 are vulnerable to this issue. OpenSSL 1.1.1 and 1.0.2 are not affected by this issue.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.8
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS probability
- 48.21%
- CWE
- CWE-787
- Published
- 2026-01-27
- Last modified
- 2026-09-08
Affected products
- OpenSSL OpenSSL
- OpenSSL OpenSSL
- OpenSSL OpenSSL
- OpenSSL OpenSSL
- OpenSSL OpenSSL
Weakness type
Related vulnerabilities
- CVE-2026-56711 — VLC media player 3.0.0 through 3.0.23 Heap Out-of-Bounds Write via Integer Overflow in Picture Allocation
- CVE-2026-87638 — Out of bounds write in Media in Google Chrome prior to 153.0.8010.36 allowed a remote attacker to...
- CVE-2026-87491 — Out of bounds write in V8 in Google Chrome prior to 153.0.8010.36 allowed a remote attacker to...
- CVE-2026-87621 — Out of bounds write in ANGLE in Google Chrome on on Windows prior to 153.0.8010.36 allowed a remote...
- CVE-2026-87438 — Out of bounds write in WebGL in Google Chrome on on Android prior to 153.0.8010.36 allowed a remote...
- CVE-2026-53938 — OpenIDC/cjose has a heap buffer overflow in AES Key Wrap decryption (A128KW/A192KW/A256KW)
- CVE-2026-81980 — Acrobat Reader | Out-of-bounds Write (CWE-787)
- CVE-2026-81981 — Acrobat Reader | Out-of-bounds Write (CWE-787)