# CVE-2026-9076: Out-of-Bounds Read in CMS Password-Based Decryption

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.97% (percentile 61, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-06-09T16:03:16.306Z
- **Modified:** 2026-07-23T08:10:00.137Z

## Who should check

- Anyone running OpenSSL \>= 4.0.0, \< 4.0.1; \>= 3.6.0, \< 3.6.3; \>= 3.5.0, \< 3.5.7; \>= 3.4.0, \< 3.4.6; \>= 3.0.0, \< 3.0.21; \>= 1.1.1, \< 1.1.1zh; \>= 1.0.2, \< 1.0.2zq

## Description

Issue summary: When CMS password-based decryption (RFC 3211 / PWRI key unwrap)
processes attacker-supplied CMS data, an attacker-chosen stream-mode KEK
cipher can trigger a heap out-of-bounds read in kek\_unwrap\_key().

Impact summary: A heap buffer over-read may trigger a crash which leads to
Denial of Service for an application if the input buffer ends at a memory
page boundary and the following page is unmapped. There is no information
disclosure as the over-read bytes are not revealed to the attacker.

The key unwrapping function performs a check-byte test as specified in the
RFC that reads 7 bytes from a heap allocation that is based on the wrapped
key length from the message. There is a minimum length check based on the
block length of the wrapping cipher. However the cipher is selected from
an OID carried in the attacker's PWRI keyEncryptionAlgorithm with no
requirement that the cipher be a block cipher. When an attacker selects
a stream-mode cipher the guard will be ineffective and the allocated buffer
containing the unwrapped key can be too small to fit the check-bytes
specified in the RFC and a buffer over-read can happen.

Applications calling CMS\_decrypt() or CMS\_decrypt\_set1\_password()
(equivalently openssl cms -decrypt -pwri\_password ...) on untrusted CMS
data are vulnerable to this issue. No password knowledge is required: the
over-read happens during the unwrap attempt before any authentication
succeeds.

The over-read is limited to a few bytes and is not written to output, so
there is no information disclosure. Triggering a crash requires the
allocation to border unmapped memory, which is unlikely with the normal
allocator.

The FIPS modules are not affected by this issue.

## Affected and fixed versions

- OpenSSL: \>= 4.0.0, \< 4.0.1; \>= 3.6.0, \< 3.6.3; \>= 3.5.0, \< 3.5.7; \>= 3.4.0, \< 3.4.6; \>= 3.0.0, \< 3.0.21; \>= 1.1.1, \< 1.1.1zh; \>= 1.0.2, \< 1.0.2zq (cvelist)

## Mitigation

- Upgrade OpenSSL to 1.0.2zq or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-9076. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-9076.md
Affected: OpenSSL >= 4.0.0, < 4.0.1; >= 3.6.0, < 3.6.3; >= 3.5.0, < 3.5.7; >= 3.4.0, < 3.4.6; >= 3.0.0, < 3.0.21; >= 1.1.1, < 1.1.1zh; >= 1.0.2, < 1.0.2zq
Fixed in: OpenSSL 4.0.1, OpenSSL 3.6.3, OpenSSL 3.5.7, OpenSSL 3.4.6, OpenSSL 3.0.21, OpenSSL 1.1.1zh, OpenSSL 1.0.2zq

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-2026-9076 being exploited?

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

### How serious is CVE-2026-9076?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-9076?

OpenSSL \>= 4.0.0, \< 4.0.1; \>= 3.6.0, \< 3.6.3; \>= 3.5.0, \< 3.5.7; \>= 3.4.0, \< 3.4.6; \>= 3.0.0, \< 3.0.21; \>= 1.1.1, \< 1.1.1zh; \>= 1.0.2, \< 1.0.2zq.

### Is there a fix for CVE-2026-9076?

Yes. Fixed in OpenSSL 4.0.1, OpenSSL 3.6.3, OpenSSL 3.5.7, OpenSSL 3.4.6, OpenSSL 3.0.21, OpenSSL 1.1.1zh, OpenSSL 1.0.2zq. Upgrade OpenSSL to 1.0.2zq or later.

### How do I check if I'm affected by CVE-2026-9076?

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/20260609.txt>
- patch: <https://github.com/openssl/openssl/commit/3d8d5bc1056b2f62da9fede23fedbf47e85187b0>
- patch: <https://github.com/openssl/openssl/commit/77bf00ab13f6ff5e516535432f0328ed70ec0c26>
- patch: <https://github.com/openssl/openssl/commit/715349a1d7c6db970e6815dafb90915f07307f98>
- patch: <https://github.com/openssl/openssl/commit/05b066366842f930fadd9a6e94df98030af431bb>
- patch: <https://github.com/openssl/openssl/commit/eecbe330977e8d023aae1ca2d9bdbe983ef3fdc6>

## 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-2026-9076>

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