# CVE-2025-9230: Out-of-bounds read & write in RFC 3211 KEK Unwrap

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.64% (percentile 77, 2026-11-26)
- **CWE:** CWE-125, CWE-787
- **Published:** 2025-09-30T13:17:00.808Z
- **Modified:** 2026-11-09T20:57:31.210Z

## Who should check

- Anyone running OpenSSL \>= 3.5.0, \< 3.5.4; \>= 3.4.0, \< 3.4.3; \>= 3.3.0, \< 3.3.5; \>= 3.2.0, \< 3.2.6; \>= 3.0.0, \< 3.0.18; \>= 1.1.1, \< 1.1.1zd; \>= 1.0.2, \< 1.0.2zm

## Description

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

## Affected and fixed versions

- OpenSSL: \>= 3.5.0, \< 3.5.4; \>= 3.4.0, \< 3.4.3; \>= 3.3.0, \< 3.3.5; \>= 3.2.0, \< 3.2.6; \>= 3.0.0, \< 3.0.18; \>= 1.1.1, \< 1.1.1zd; \>= 1.0.2, \< 1.0.2zm (cvelist)

## Mitigation

- Upgrade OpenSSL to 1.0.2zm 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-9230. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-9230.md
Affected: OpenSSL >= 3.5.0, < 3.5.4; >= 3.4.0, < 3.4.3; >= 3.3.0, < 3.3.5; >= 3.2.0, < 3.2.6; >= 3.0.0, < 3.0.18; >= 1.1.1, < 1.1.1zd; >= 1.0.2, < 1.0.2zm
Fixed in: OpenSSL 3.5.4, OpenSSL 3.4.3, OpenSSL 3.3.5, OpenSSL 3.2.6, OpenSSL 3.0.18, OpenSSL 1.1.1zd, OpenSSL 1.0.2zm

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-9230 being exploited?

There is no confirmed exploitation: CVE-2025-9230 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.64% chance of exploitation in the next 30 days (as of 2026-11-26).

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

OpenSSL \>= 3.5.0, \< 3.5.4; \>= 3.4.0, \< 3.4.3; \>= 3.3.0, \< 3.3.5; \>= 3.2.0, \< 3.2.6; \>= 3.0.0, \< 3.0.18; \>= 1.1.1, \< 1.1.1zd; \>= 1.0.2, \< 1.0.2zm.

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

Yes. Fixed in OpenSSL 3.5.4, OpenSSL 3.4.3, OpenSSL 3.3.5, OpenSSL 3.2.6, OpenSSL 3.0.18, OpenSSL 1.1.1zd, OpenSSL 1.0.2zm. Upgrade OpenSSL to 1.0.2zm or later.

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

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/20250930.txt>
- patch: <https://github.com/openssl/openssl/commit/bae259a211ada6315dc50900686daaaaaa55f482>
- patch: <https://github.com/openssl/openssl/commit/9e91358f365dee6c446dcdcdb01c04d2743fd280>
- patch: <https://github.com/openssl/openssl/commit/5965ea5dd6960f36d8b7f74f8eac67a8eb8f2b45>
- patch: <https://github.com/openssl/openssl/commit/b5282d677551afda7d20e9c00e09561b547b2dfd>
- patch: <https://github.com/openssl/openssl/commit/a79c4ce559c6a3a8fd4109e9f33c1185d5bf2def>
- patch: <https://github.openssl.org/openssl/extended-releases/commit/dfbaf161d8dafc1132dd88cd48ad990ed9b4c8ba>
- patch: <https://github.openssl.org/openssl/extended-releases/commit/c2b96348bfa662f25f4fabf81958ae822063dae3>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00001.html>
- other: <http://www.openwall.com/lists/oss-security/2025/09/30/5>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-089022.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-485750.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-585531.html>

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

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