CVE-2025-15467: OpenSSL CVE-2025-15467

Published Jan 16, 2026
·
Updated

A stack buffer overflow may lead to a crash, causing Denial of Service, or potentially remote code execution.

When parsing CMS AuthEnvelopedData 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 AuthEnvelopedData 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.

OpenSSL 3.6 users should upgrade to OpenSSL 3.6.1.

OpenSSL 3.5 users should upgrade to OpenSSL 3.5.5.

OpenSSL 3.4 users should upgrade to OpenSSL 3.4.4.

OpenSSL 3.3 users should upgrade to OpenSSL 3.3.6.

OpenSSL 3.0 users should upgrade to OpenSSL 3.0.19.

Other sources

CVE-2025-15467Parsing CMS AuthEnvelopedData message with maliciously crafted AEAD parameters can trigger a stack buffer overflow. A stack buffer overflow may lead to a crash, causing Denial of Service, or potentially remote code execution. When parsing CMS AuthEnvelopedData 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 AuthEnvelopedData 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.

— FortiGuard

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.

— IBM

Affected Software

34 affected componentsFixes available
OpenSSL OpenSSL>=3.0<3.6
IBM Netezza Software<=11.3.0.3-IF2
OpenSSL OpenSSL>=3.0.0<3.0.19
OpenSSL OpenSSL>=3.1.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
debian/openssl<3.0.18-1~deb12u2
3.0.18-1~deb12u2
debian/openssl<3.5.4-1~deb13u2
3.5.4-1~deb13u2
debian/openssl<3.5.5-1
3.5.5-1
alpine/openssl>=3.0.0<3.0.19-r0
3.0.19-r0
alpine/openssl>=3.1.0<3.3.6-r0
3.3.6-r0
alpine/openssl>=3.1.0<3.3.6-r0
3.3.6-r0
alpine/openssl>=3.5.0<3.5.5-r0
3.5.5-r0
alpine/openssl>=3.5.0<3.5.5-r0
3.5.5-r0
alpine/openssl>=3.5.0<3.5.5-r0
3.5.5-r0
debian/openssl
3.0.18-1~deb12u23.5.4-1~deb13u23.5.5-1
ubuntu/nodejs*
ubuntu/nodejs*
ubuntu/openssl<3.0.2-0ubuntu1.21
3.0.2-0ubuntu1.21
ubuntu/openssl*
ubuntu/openssl-fips*
ubuntu/openssl<3.0.2-0ubuntu1.21+Fips1
3.0.2-0ubuntu1.21+Fips1
ubuntu/openssl-fips*
ubuntu/edk2*
ubuntu/openssl<3.0.13-0ubuntu3.7
3.0.13-0ubuntu3.7
ubuntu/openssl-fips<3.0.13-0ubuntu3.12+Fips1
3.0.13-0ubuntu3.12+Fips1
ubuntu/edk2*
ubuntu/openssl<3.5.3-1ubuntu3
3.5.3-1ubuntu3
ubuntu/edk2*
ubuntu/edk2-hwe*
ubuntu/edk2*
ubuntu/edk2-hwe*
ubuntu/openssl<3.5.5-1ubuntu1
3.5.5-1ubuntu1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/openssl to a version that resolves this vulnerability.

    Fixed in 3.0.18-1~deb12u2
  2. Upgrade

    Upgrade debian/openssl to a version that resolves this vulnerability.

    Fixed in 3.5.4-1~deb13u2
  3. Upgrade

    Upgrade debian/openssl to a version that resolves this vulnerability.

    Fixed in 3.5.5-1
  4. Upgrade

    Upgrade alpine/openssl to a version that resolves this vulnerability.

    Fixed in 3.0.19-r0
  5. Upgrade

    Upgrade alpine/openssl to a version that resolves this vulnerability.

    Fixed in 3.3.6-r0
  6. Upgrade

    Upgrade alpine/openssl to a version that resolves this vulnerability.

    Fixed in 3.5.5-r0
  7. Upgrade

    Upgrade debian/openssl to a version that resolves this vulnerability.

    Fixed in 3.0.18-1~deb12u2Fixed in 3.5.4-1~deb13u2Fixed in 3.5.5-1
  8. Upgrade

    Upgrade ubuntu/openssl to a version that resolves this vulnerability.

    Fixed in 3.0.2-0ubuntu1.21
  9. Upgrade

    Upgrade ubuntu/openssl to a version that resolves this vulnerability.

    Fixed in 3.0.2-0ubuntu1.21+Fips1
  10. Upgrade

    Upgrade ubuntu/openssl to a version that resolves this vulnerability.

    Fixed in 3.0.13-0ubuntu3.7
  11. Upgrade

    Upgrade ubuntu/openssl-fips to a version that resolves this vulnerability.

    Fixed in 3.0.13-0ubuntu3.12+Fips1
  12. Upgrade

    Upgrade ubuntu/openssl to a version that resolves this vulnerability.

    Fixed in 3.5.3-1ubuntu3
  13. Upgrade

    Upgrade ubuntu/openssl to a version that resolves this vulnerability.

    Fixed in 3.5.5-1ubuntu1
  14. Upgrade

    Upgrade OpenSSL to a version that resolves this vulnerability.

    Fixed in 3.0.19
  15. Upgrade

    Upgrade OpenSSL to a version that resolves this vulnerability.

    Fixed in 3.3.6
  16. Upgrade

    Upgrade OpenSSL to a version that resolves this vulnerability.

    Fixed in 3.4.4
  17. Upgrade

    Upgrade OpenSSL to a version that resolves this vulnerability.

    Fixed in 3.5.5
  18. Upgrade

    Upgrade OpenSSL to a version that resolves this vulnerability.

    Fixed in 3.6.1

Event History

Jan 16, 2026
Data Sourced
via Red Hat·02:27 PM
DescriptionSeverityAffected Software
Jan 27, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·04:01 PM
Data Sourced
via MITRE·04:01 PM
DescriptionWeakness
Data Sourced
via NVD·04:16 PM
DescriptionWeakness
Jan 28, 2026
Exploit Published
via GitHub·12:44 PM
Jan 29, 2026
Data Sourced
via NVD·03:16 PM
Severity
Event
via NVD·03:16 PM
Jan 30, 2026
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software
Feb 2, 2026
Data Sourced
via NVD·06:38 PM
RemedyAffected Software
Feb 25, 2026
Updated
via NVD·07:43 PM
Description
Updated
via MITRE·09:10 PM
Description
Mar 19, 2026
Updated
via NVD·07:16 PM
Severity
May 7, 2026
Updated
via NVD·06:12 PM
Affected Software
Jun 30, 2026
Updated
via NVD·03:16 AM
SeverityWeakness
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Updated
via IBM·12:00 AM
Affected Software
Jul 8, 2026
Updated
via IBM·12:00 AM
Affected Software
Aug 20, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 11, 2026
Data Sourced
via OSV·02:47 AM
Weakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-15467?

CVE-2025-15467 is classified as a high severity vulnerability due to the potential for Denial of Service and remote code execution.

2

How do I fix CVE-2025-15467?

To fix CVE-2025-15467, upgrade to a patched version of OpenSSL that addresses the stack buffer overflow issue.

3

What systems are affected by CVE-2025-15467?

CVE-2025-15467 affects OpenSSL versions from 3.0 to 3.6, particularly when handling CMS AuthEnvelopedData with AEAD ciphers.

4

What is the impact of CVE-2025-15467?

The impact of CVE-2025-15467 may include application crashes or execution of arbitrary code, leading to serious security risks.

5

How does CVE-2025-15467 occur?

CVE-2025-15467 occurs due to a stack buffer overflow when parsing specific crypto structures that improperly handle the encoded Initialization Vector.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203