{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-63072","id":"CVE-2026-63072","title":"Heap Buffer Overflow in CMS Key Unwrapping","description":"Issue summary: OpenSSL CMS decryption sizes the key-unwrap output buffer based\non querying the unwrapped key size, but the AES-WRAP-PAD unwrap primitive\ncan write and cleanse more bytes than that query reports, causing an 8-byte\nout-of-bounds heap write.\n\nImpact summary: An attacker who supplies a crafted CMS message can trigger a\ndeterministic 8-byte out-of-bounds heap write when the victim decry","descriptionLong":"Issue summary: OpenSSL CMS decryption sizes the key-unwrap output buffer based\non querying the unwrapped key size, but the AES-WRAP-PAD unwrap primitive\ncan write and cleanse more bytes than that query reports, causing an 8-byte\nout-of-bounds heap write.\n\nImpact summary: An attacker who supplies a crafted CMS message can trigger a\ndeterministic 8-byte out-of-bounds heap write when the victim decrypts it\nwith CMS_decrypt(), corrupting the heap and typically resulting in a Denial\nof Service.\n\nCWE: CWE-787: Out-of-bounds Write\n\nDescription: The key-wrap OID is potentially attacker-controlled on the wire.\nCMS unwrapping allows both id-aesNNN-wrap-pad and id-aesNNN-wrap ciphers.\nAn attacker can take a legitimate message and change a single OID byte to\nselect the padded variant while leaving the message otherwise valid. Since\nthe unwrap key is derived from the recipient's private operation (ECDH key\nagreement or ML-KEM decapsulation), the RFC 5649 integrity check cannot\npass, and the decryption fails with integrity failure.\n\nThe write is a fixed-size (8-byte), fixed-value (zero) heap overflow\nimmediately past the allocation, requires no special configuration, and is\nreachable from the public CMS_decrypt() function. The consequence is\na heap corruption leading to a Denial of Service. The fix in the CMS code\nsizes the unwrap output buffer for the worst case so a failed unwrap cannot\nwrite past the allocation.\n\nFIPS impact: no\n\nAs the CMS code lives outside the FIPS module boundary, no FIPS\nmodules are affected by this CVE.","published":"2026-08-25T12:59:34.428Z","updated":"2026-11-11T13:30:22.145890521Z","reserved":"2026-07-15T13:10:26.188Z","status":"Analyzed","rejected":false,"assigner":"openssl","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["OpenSSL"],"affectedProducts":[{"vendor":"OpenSSL","product":"OpenSSL","defaultStatus":"unaffected","versions":[{"lessThan":"4.0.2","status":"affected","version":"4.0.0","versionType":"semver"},{"lessThan":"3.6.4","status":"affected","version":"3.6.0","versionType":"semver"},{"lessThan":"3.5.8","status":"affected","version":"3.5.0","versionType":"semver"},{"lessThan":"3.4.7","status":"affected","version":"3.4.0","versionType":"semver"},{"lessThan":"3.0.22","status":"affected","version":"3.0.0","versionType":"semver"},{"lessThan":"1.1.1zi","status":"affected","version":"1.1.1","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":[],"references":[{"url":"https://openssl-library.org/news/secadv/20260825.txt","tags":["vendor-advisory","Vendor Advisory","advisory"]},{"url":"https://github.com/openssl/openssl/commit/9530a5fd1aacaeccdced4478ea2340a480613335","tags":["patch","Patch","fix"]},{"url":"https://github.com/openssl/openssl/commit/2a3dac874c8057c1f0186849bf1ede1ae7b6b756","tags":["patch","Patch","fix"]},{"url":"https://github.com/openssl/openssl/commit/87784ad619af36b8807c2044b3940006fccc1e42","tags":["patch","Patch","fix"]},{"url":"https://github.com/openssl/openssl/commit/9ec2f6d2ae2bcad907cf7ee38584855bafe4979a","tags":["patch","Patch","fix"]},{"url":"https://github.com/openssl/openssl/commit/a0c8ec557d9cac078f032d76cdf684fe743eb382","tags":["patch","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63072.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63072","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00916,"epssPercentile":0.60934,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-63072","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63072","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-63072","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-63072","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["openssl"],"critical":[],"attention":null}