CVE-2025-15467

HIGH LAB

OpenSSL 3.0.0-3.0.18, 3.3.0-3.3.5, 3.4.0-3.4.3, 3.5.0-3.5.4, 3.6.0 - Stack-based Buffer Overflow via CMS AEAD IV Parsing

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 6 public exploits for CVE-2025-15467. PoCs published by guiimoraes, balgan, exploitintel.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2025-15467, a stack buffer overflow in OpenSSL's CMS parsing code, which can lead to remote code execution via crafted CMS AuthEnvelopedData structures.

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.

Exploits (6)

nomisec WORKING POC 11 stars
by guiimoraes · poc
https://github.com/guiimoraes/CVE-2025-15467

This repository contains a functional exploit for CVE-2025-15467, a stack buffer overflow in OpenSSL's CMS parsing code, which can lead to remote code execution via crafted CMS AuthEnvelopedData structures.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OpenSSL 3.0 - 3.6 (before patches)
No auth needed
Prerequisites: Vulnerable OpenSSL version · Ability to deliver malicious CMS/S-MIME content
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 7 stars
by balgan · poc
https://github.com/balgan/CVE-2025-15467

This repository contains a functional DoS exploit for CVE-2025-15467, a stack buffer overflow in OpenSSL's CMS AuthEnvelopedData parsing. The exploit crafts a malformed CMS payload with an oversized IV to trigger a crash in vulnerable OpenSSL versions.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: OpenSSL 3.0.0-3.0.18, 3.3.0-3.3.5, 3.4.0-3.4.3, 3.5.0-3.5.4, 3.6.0
No auth needed
Prerequisites: Network access to a service parsing CMS/PKCS#7 content
devstral-2 · analyzed Feb 16, 2026 Full analysis →
github WORKING POC 1 stars
by exploitintel · pythonpoc
https://github.com/exploitintel/eip-pocs-and-cves/tree/main/CVE-2025-15467

This repository contains a functional exploit PoC for CVE-2025-15467, a stack-based buffer overflow in OpenSSL's CMS AuthEnvelopedData handling. It includes a Dockerized lab environment with pinned vulnerable binaries, a custom CMS server, and a deterministic exploit script that demonstrates ROP-based RCE.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: OpenSSL (CMS component)
No auth needed
Prerequisites: network access to vulnerable OpenSSL CMS service · Docker environment for lab setup
devstral-2 · analyzed Mar 04, 2026 Full analysis →
nomisec SCANNER 1 stars
by mr-r3b00t · poc
https://github.com/mr-r3b00t/CVE-2025-15467

This repository contains a PowerShell scanner for detecting vulnerable OpenSSL 3.x DLLs (libcrypto-3.dll and libssl-3.dll) affected by CVE-2025-15467. It supports local and remote scanning via WinRM, with security hardening measures like UNC path blocking and HTTPS transport.

Classification
Scanner 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: OpenSSL 3.x (versions before 3.0.19, 3.1.9, 3.2.5, 3.3.6, 3.4.4, 3.5.5, 3.6.1)
Auth required
Prerequisites: PowerShell Remoting (WinRM) enabled on targets · Administrative privileges for local scans · Valid credentials for remote scans
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by WostGit · poc
https://github.com/WostGit/cve-2025-15467-crash

This repository contains a functional exploit PoC for CVE-2025-15467, demonstrating a stack buffer overflow in OpenSSL 3.4.0 via a maliciously crafted CMS file with an oversized GCM IV. The GitHub Actions workflow automates the build of a vulnerable OpenSSL version and triggers the crash.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: OpenSSL 3.4.0
No auth needed
Prerequisites: OpenSSL 3.4.0 with specific build flags (no stack protector, no fortify source) · Python 3 · GitHub Actions environment or similar Linux setup
devstral-2 · analyzed Apr 09, 2026 Full analysis →
nomisec WORKING POC
by materaj2 · poc
https://github.com/materaj2/cve-2025-15467

This repository contains a functional exploit for CVE-2025-15467, targeting a stack buffer overflow in OpenSSL 3.4.0's `evp_cipher_get_asn1_aead_params()` function. The exploit includes a vulnerable CMS decryption service and a PoC script that demonstrates both DoS and RCE via crafted AuthEnvelopedData with oversized AEAD initialization vectors.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OpenSSL 3.4.0
No auth needed
Prerequisites: Vulnerable OpenSSL 3.4.0 installation · Network access to the target service
devstral-2 · analyzed Mar 15, 2026 Full analysis →

Related Analysis

Scores

CVSS v3 8.8
EPSS 0.0289
EPSS Percentile 86.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Lab Environment

EIP LAB
Docker Lab
vulnerable docker pull ghcr.io/exploitintel/cve-2025-15467-vulnerable:latest

Details

CWE
CWE-787
Status published
Products (6)
openssl/openssl 3.0.0 - 3.0.19
OpenSSL/OpenSSL 3.0.0 - 3.0.19
OpenSSL/OpenSSL 3.3.0 - 3.3.6
OpenSSL/OpenSSL 3.4.0 - 3.4.4
OpenSSL/OpenSSL 3.5.0 - 3.5.5
OpenSSL/OpenSSL 3.6.0 - 3.6.1
Published Jan 27, 2026
Tracked Since Feb 18, 2026