# CVE-2026-63072: Heap Buffer Overflow in CMS Key Unwrapping

> 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:** 1.01% (percentile 62, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-08-25T12:59:34.428Z
- **Modified:** 2026-09-11T21:16:34.287Z

## Who should check

- Anyone running OpenSSL \>= 4.0.0, \< 4.0.2; \>= 3.6.0, \< 3.6.4; \>= 3.5.0, \< 3.5.8; \>= 3.4.0, \< 3.4.7; \>= 3.0.0, \< 3.0.22; \>= 1.1.1, \< 1.1.1zi

## Description

Issue summary: OpenSSL CMS decryption sizes the key-unwrap output buffer based
on querying the unwrapped key size, but the AES-WRAP-PAD unwrap primitive
can write and cleanse more bytes than that query reports, causing an 8-byte
out-of-bounds heap write.

Impact summary: An attacker who supplies a crafted CMS message can trigger a
deterministic 8-byte out-of-bounds heap write when the victim decrypts it
with CMS\_decrypt(), corrupting the heap and typically resulting in a Denial
of Service.

CWE: CWE-787: Out-of-bounds Write

Description: The key-wrap OID is potentially attacker-controlled on the wire.
CMS unwrapping allows both id-aesNNN-wrap-pad and id-aesNNN-wrap ciphers.
An attacker can take a legitimate message and change a single OID byte to
select the padded variant while leaving the message otherwise valid. Since
the unwrap key is derived from the recipient's private operation (ECDH key
agreement or ML-KEM decapsulation), the RFC 5649 integrity check cannot
pass, and the decryption fails with integrity failure.

The write is a fixed-size (8-byte), fixed-value (zero) heap overflow
immediately past the allocation, requires no special configuration, and is
reachable from the public CMS\_decrypt() function. The consequence is
a heap corruption leading to a Denial of Service. The fix in the CMS code
sizes the unwrap output buffer for the worst case so a failed unwrap cannot
write past the allocation.

FIPS impact: no

As the CMS code lives outside the FIPS module boundary, no FIPS
modules are affected by this CVE.

## Affected and fixed versions

- OpenSSL: \>= 4.0.0, \< 4.0.2; \>= 3.6.0, \< 3.6.4; \>= 3.5.0, \< 3.5.8; \>= 3.4.0, \< 3.4.7; \>= 3.0.0, \< 3.0.22; \>= 1.1.1, \< 1.1.1zi (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-63072.md
Affected: OpenSSL >= 4.0.0, < 4.0.2; >= 3.6.0, < 3.6.4; >= 3.5.0, < 3.5.8; >= 3.4.0, < 3.4.7; >= 3.0.0, < 3.0.22; >= 1.1.1, < 1.1.1zi
Fixed in: OpenSSL 4.0.2, OpenSSL 3.6.4, OpenSSL 3.5.8, OpenSSL 3.4.7, OpenSSL 3.0.22, OpenSSL 1.1.1zi

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

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

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

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

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

OpenSSL \>= 4.0.0, \< 4.0.2; \>= 3.6.0, \< 3.6.4; \>= 3.5.0, \< 3.5.8; \>= 3.4.0, \< 3.4.7; \>= 3.0.0, \< 3.0.22; \>= 1.1.1, \< 1.1.1zi.

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

Yes. Fixed in OpenSSL 4.0.2, OpenSSL 3.6.4, OpenSSL 3.5.8, OpenSSL 3.4.7, OpenSSL 3.0.22, OpenSSL 1.1.1zi. Upgrade OpenSSL to 1.1.1zi or later.

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

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/20260825.txt>
- patch: <https://github.com/openssl/openssl/commit/9530a5fd1aacaeccdced4478ea2340a480613335>
- patch: <https://github.com/openssl/openssl/commit/2a3dac874c8057c1f0186849bf1ede1ae7b6b756>
- patch: <https://github.com/openssl/openssl/commit/87784ad619af36b8807c2044b3940006fccc1e42>
- patch: <https://github.com/openssl/openssl/commit/9ec2f6d2ae2bcad907cf7ee38584855bafe4979a>
- patch: <https://github.com/openssl/openssl/commit/a0c8ec557d9cac078f032d76cdf684fe743eb382>

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

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