Potentially Critical RCE Vulnerability in OpenSSL
OpenSSL copies an oversized IV from a CMS AuthEnvelopedData message into a fixed-size stack buffer without checking its length, causing a stack overflow. An attacker could send a crafted message to crash the application or potentially achieve remote code execution.
research.jfrog.com
Published on research.jfrog.com
The JFrog Security Research team is tracking a newly disclosed OpenSSL vulnerability, CVE-2025-15467, a stack overflow issue that may lead to remote code execution (RCE). While no official CVSS score has been assigned yet, it was rated with a “high” severity by OpenSSL and based on its characteristics, we assess that…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
OpenSSL did not check whether the IV size exceeds the fixed-size stack buffer (EVP_MAX_IV_LENGTH) when copying it.
Impact
The overflow occurs before authentication, so an attacker needs no keys; it can crash the application and, depending on platform mitigations, may lead to remote code execution.
What the attacker needed
Application parses untrusted CMS/PKCS#7; uses AEAD ciphers such as AES-GCM; no valid keys needed
How it was found
- Craft a CMS AuthEnvelopedData message with an oversized IV in its AEAD parameters.
- Send the message to an application that parses untrusted CMS or PKCS#7 content with AEAD ciphers.
- The application calls a CMS decryption API or the openssl cms/smime tool, triggering the overflow.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A program that handles encrypted email or files reads a length value from the message and uses it to copy data into a small fixed space in memory. If the length is too big, the copy spills over into other memory, which can crash the program or let an attacker run their own code. The check that should stop this is missing.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.