CVE-2025-15467 Details
Description
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.
A stack buffer overflow vulnerability has been identified in OpenSSL versions 3.6, 3.5, 3.4, 3.3, and 3.0, when parsing CMS AuthEnvelopedData messages that use AEAD ciphers like AES-GCM. The vulnerability arises because the Initialization Vector (IV) encoded in the ASN.1 parameters is copied into a fixed-size stack buffer without proper length validation. This oversight allows an attacker to craft a CMS message with an oversized IV, leading to a stack-based out-of-bounds write before any authentication or tag verification can occur. As a result, this vulnerability may cause a crash, leading to a denial-of-service condition, or potentially allow for remote code execution, depending on the platform and toolchain mitigations in place.
Users of OpenSSL 3.6 should upgrade to OpenSSL 3.6.1. Users of OpenSSL 3.5 should upgrade to OpenSSL 3.5.5. Users of OpenSSL 3.4 should upgrade to OpenSSL 3.4.4. Users of OpenSSL 3.3 should upgrade to OpenSSL 3.3.6. Users of OpenSSL 3.0 should upgrade to OpenSSL 3.0.19.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | redhat-SADP |
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openssl openssl | >= 3.0.0, < 3.0.19 >= 3.1.0, < 3.3.6 >= 3.4.0, < 3.4.4 >= 3.5.0, < 3.5.5 >= 3.6.0, < 3.6.1 |
CPE
Remediation
| |
Change History
27 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 7, 2026 | CVE Modified | CVE |
| Sep 7, 2026 | CVE Modified | siemens-SADP |
| Sep 7, 2026 | CVE Modified | redhat-SADP |
| Sep 7, 2026 | CVE Modified | CISA-ADP |
| Sep 7, 2026 | CVE Modified | [email protected] |
| Aug 24, 2026 | CVE Modified | redhat-SADP |
| Aug 11, 2026 | CVE Modified | siemens-SADP |
| Aug 10, 2026 | CVE Modified | redhat-SADP |
| Aug 3, 2026 | CVE Modified | redhat-SADP |
| Jul 28, 2026 | CVE Modified | redhat-SADP |
| Jul 27, 2026 | CVE Modified | redhat-SADP |
| Jul 20, 2026 | CVE Modified | redhat-SADP |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 9, 2026 | CVE Modified | siemens-SADP |
| May 7, 2026 | Modified Analysis | [email protected] |
| Mar 19, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | CVE Modified | CVE |
| Feb 25, 2026 | CVE Modified | [email protected] |
| Feb 2, 2026 | Initial Analysis | [email protected] |
| Jan 29, 2026 | CVE Modified | CISA-ADP |
| Jan 27, 2026 | CVE Modified | CVE |
| Jan 27, 2026 | New CVE Received | [email protected] |