Out-of-bounds read & write in RFC 3211 KEK Unwrap

Summary

CVECVE-2025-9230
StatePUBLISHED
Assigneropenssl
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-09-30 14:15:41 UTC
Updated2026-05-12 13:17:29 UTC
DescriptionIssue summary: An application trying to decrypt CMS messages encrypted using password based encryption can trigger an out-of-bounds read and write. Impact summary: This out-of-bounds read may trigger a crash which leads to Denial of Service for an application. The out-of-bounds write can cause a memory corruption which can have various consequences including a Denial of Service or Execution of attacker-supplied code. Although the consequences of a successful exploit of this vulnerability could be severe, the probability that the attacker would be able to perform it is low. Besides, password based (PWRI) encryption support in CMS messages is very rarely used. For that reason the issue was assessed as Moderate severity according to our Security Policy. The FIPS modules in 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue, as the CMS implementation is outside the OpenSSL FIPS module boundary.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.000420000 probability, percentile 0.128500000 (date 2026-05-12)

Problem Types: CWE-125 | CWE-787 | CWE-125 CWE-125 Out-of-bounds Read | CWE-787 CWE-787 Out-of-bounds Write


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA OpenSSL OpenSSL affected 3.5.0 3.5.4 semver Not specified
CNA OpenSSL OpenSSL affected 3.4.0 3.4.3 semver Not specified
CNA OpenSSL OpenSSL affected 3.3.0 3.3.5 semver Not specified
CNA OpenSSL OpenSSL affected 3.2.0 3.2.6 semver Not specified
CNA OpenSSL OpenSSL affected 3.0.0 3.0.18 semver Not specified
CNA OpenSSL OpenSSL affected 1.1.1 1.1.1zd custom Not specified
CNA OpenSSL OpenSSL affected 1.0.2 1.0.2zm custom Not specified
ADP Siemens RUGGEDCOM RST2428P affected V3.3 custom Not specified
ADP Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family affected V3.3 custom Not specified
ADP Siemens SCALANCE XCH328 affected V3.3 custom Not specified
ADP Siemens SCALANCE XCM324 affected V3.3 custom Not specified
ADP Siemens SCALANCE XCM328 affected V3.3 custom Not specified
ADP Siemens SCALANCE XCM332 affected V3.3 custom Not specified
ADP Siemens SCALANCE XRH334 24 V DC 8xFO CC affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 230 V AC 12xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 230 V AC 8xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 230V AC 2x10G 24xSFP 8xSFP affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 24 V DC 12xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 24 V DC 8xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 24V DC 2x10G 24xSFP 8xSFP affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 2x230 V AC 12xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 2x230 V AC 8xFO affected V3.3 custom Not specified
ADP Siemens SCALANCE XRM334 2x230V AC 2x10G 24xSFP 8xSFP affected V3.3 custom Not specified
ADP Siemens SIDIS Prime affected V4.0.800 custom Not specified
ADP Siemens SIMATIC CN 4100 affected V5.0 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem affected * custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified

References

ReferenceSourceLinkTags
github.com/openssl/openssl/commit/bae259a211ada6315dc50900686daaaaaa55f482 [email protected] github.com
cert-portal.siemens.com/productcert/html/ssa-089022.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
cert-portal.siemens.com/productcert/html/ssa-082556.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
github.openssl.org/openssl/extended-releases/commit/c2b96348bfa662f25f4fabf81958... [email protected] github.openssl.org
lists.debian.org/debian-lts-announce/2025/10/msg00001.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
github.com/openssl/openssl/commit/9e91358f365dee6c446dcdcdb01c04d2743fd280 [email protected] github.com
github.openssl.org/openssl/extended-releases/commit/dfbaf161d8dafc1132dd88cd48ad... [email protected] github.openssl.org
cert-portal.siemens.com/productcert/html/ssa-265688.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
github.com/openssl/openssl/commit/a79c4ce559c6a3a8fd4109e9f33c1185d5bf2def [email protected] github.com
openssl-library.org/news/secadv/20250930.txt [email protected] openssl-library.org
github.com/openssl/openssl/commit/5965ea5dd6960f36d8b7f74f8eac67a8eb8f2b45 [email protected] github.com
www.openwall.com/lists/oss-security/2025/09/30/5 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
cert-portal.siemens.com/productcert/html/ssa-032379.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
github.com/openssl/openssl/commit/b5282d677551afda7d20e9c00e09561b547b2dfd [email protected] github.com
cert-portal.siemens.com/productcert/html/ssa-485750.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Stanislav Fort (Aisle Research) (en)

CNA: Stanislav Fort (Aisle Research) (en)

CNA: Viktor Dukhovni (en)

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report