# CVE-2025-15467: Stack buffer overflow in CMS (Auth)EnvelopedData parsing

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 7.04% (percentile 95, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-01-27T16:01:19.922Z
- **Modified:** 2026-11-10T13:17:30.343Z

## Who should check

- Anyone running OpenSSL \>= 3.6.0, \< 3.6.1; \>= 3.5.0, \< 3.5.5; \>= 3.4.0, \< 3.4.4; \>= 3.3.0, \< 3.3.6; \>= 3.0.0, \< 3.0.19

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

## Affected and fixed versions

- OpenSSL: \>= 3.6.0, \< 3.6.1; \>= 3.5.0, \< 3.5.5; \>= 3.4.0, \< 3.4.4; \>= 3.3.0, \< 3.3.6; \>= 3.0.0, \< 3.0.19 (cvelist)

## Mitigation

- Upgrade OpenSSL to 3.0.19 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-15467. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-15467.md
Affected: OpenSSL >= 3.6.0, < 3.6.1; >= 3.5.0, < 3.5.5; >= 3.4.0, < 3.4.4; >= 3.3.0, < 3.3.6; >= 3.0.0, < 3.0.19
Fixed in: OpenSSL 3.6.1, OpenSSL 3.5.5, OpenSSL 3.4.4, OpenSSL 3.3.6, OpenSSL 3.0.19

Steps:
1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-15467 being exploited?

There is no confirmed exploitation: CVE-2025-15467 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 7.04% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-15467?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-15467?

OpenSSL \>= 3.6.0, \< 3.6.1; \>= 3.5.0, \< 3.5.5; \>= 3.4.0, \< 3.4.4; \>= 3.3.0, \< 3.3.6; \>= 3.0.0, \< 3.0.19.

### Is there a fix for CVE-2025-15467?

Yes. Fixed in OpenSSL 3.6.1, OpenSSL 3.5.5, OpenSSL 3.4.4, OpenSSL 3.3.6, OpenSSL 3.0.19. Upgrade OpenSSL to 3.0.19 or later.

### How do I check if I'm affected by CVE-2025-15467?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://openssl-library.org/news/secadv/20260127.txt>
- vendor: <https://access.redhat.com/errata/RHSA-2026:3415>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2974>
- vendor: <https://access.redhat.com/errata/RHSA-2026:4419>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2659>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2671>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2072>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2633>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2077>
- vendor: <https://access.redhat.com/errata/RHSA-2026:6481>
- vendor: <https://access.redhat.com/errata/RHSA-2026:1496>
- vendor: <https://access.redhat.com/errata/RHSA-2026:1472>
- vendor: <https://access.redhat.com/errata/RHSA-2026:1733>
- vendor: <https://access.redhat.com/errata/RHSA-2026:1594>
- vendor: <https://access.redhat.com/errata/RHSA-2026:1519>
- vendor: <https://access.redhat.com/errata/RHSA-2026:1503>
- vendor: <https://access.redhat.com/errata/RHSA-2026:1473>
- vendor: <https://access.redhat.com/errata/RHSA-2026:3228>
- vendor: <https://access.redhat.com/errata/RHSA-2026:3461>
- vendor: <https://access.redhat.com/errata/RHSA-2026:3462>
- vendor: <https://access.redhat.com/errata/RHSA-2026:1736>
- vendor: <https://access.redhat.com/errata/RHSA-2026:7261>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2485>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2995>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2844>
- vendor: <https://access.redhat.com/errata/RHSA-2026:4943>
- vendor: <https://access.redhat.com/errata/RHSA-2026:2563>
- patch: <https://github.com/openssl/openssl/commit/2c8f0e5fa9b6ee5508a0349e4572ddb74db5a703>
- patch: <https://github.com/openssl/openssl/commit/d0071a0799f20cc8101730145349ed4487c268dc>
- patch: <https://github.com/openssl/openssl/commit/6ced0fe6b10faa560e410e3ee8d6c82f06c65ea3>
- patch: <https://github.com/openssl/openssl/commit/5f26d4202f5b89664c5c3f3c62086276026ba9a9>
- patch: <https://github.com/openssl/openssl/commit/ce39170276daec87f55c39dad1f629b56344429e>
- exploit: <https://github.com/guiimoraes/CVE-2025-15467>
- other: <http://www.openwall.com/lists/oss-security/2026/01/27/10>
- other: <http://www.openwall.com/lists/oss-security/2026/02/25/6>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-434797.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-734552.html>
- other: <https://access.redhat.com/security/cve/CVE-2025-15467>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2430376>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15467.json>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-15467>

HTML: <https://flawdb.com/CVE-2025-15467> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-15467>
