{"id":"DHI-gtpg-bp5a-zhy5-qell","summary":"Issue summary: OpenSSL CMS decryption sizes the key-unwrap output buffer based","details":"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.","modified":"2026-11-27T23:30:04.530826298Z","published":"2026-11-20T16:52:19Z","upstream":["CVE-2026-63072"],"database_specific":{"coverage_exclusions":["legacy_package_image_owner"],"coverage":"partial"},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-gtpg-bp5a-zhy5-qell"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63072"},{"type":"ADVISORY","url":"https://openssl-library.org/news/secadv/20260825.txt"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/a0c8ec557d9cac078f032d76cdf684fe743eb382"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/9ec2f6d2ae2bcad907cf7ee38584855bafe4979a"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/9530a5fd1aacaeccdced4478ea2340a480613335"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/87784ad619af36b8807c2044b3940006fccc1e42"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/2a3dac874c8057c1f0186849bf1ede1ae7b6b756"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-67165.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:67165"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-80514.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:80514"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2026-85968.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:85968"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-63072"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3907.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-63072"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-54874"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3908.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3919.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-2136.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-75803"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-63076"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-63075"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-63074"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-63073"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-18798"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-14457"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-63072"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-500326.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-500326.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-500327.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-500327.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-500498.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-500498.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-67154-0.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-67154-0.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-67165-0.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-67165-0.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-80514.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-80514.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-85968.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-85968.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-63072"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:67154"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:67165"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:80514"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-63072"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-63072"}],"affected":[{"package":{"name":"openssl-provider-fips","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/openssl-provider-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.2-r0"}]}],"versions":["3.1.2-r0","3.1.2-r1","3.1.2-r2","3.1.2-r3","3.1.2-r4","3.1.2-r5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-gtpg-bp5a-zhy5-qell.json"}},{"package":{"name":"openssl-provider-fips","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/openssl-provider-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.2-r3"}]}],"versions":["3.1.2-r3","3.1.2-r4","3.1.2-r5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-gtpg-bp5a-zhy5-qell.json"}},{"package":{"name":"openssl","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/openssl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.8-r0"}]}],"versions":["3.5.4-r0","3.5.5-r0","3.5.5_git20260330-r1","3.5.6-r0","3.5.6-r1","3.5.7-r0","3.5.7-r1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-gtpg-bp5a-zhy5-qell.json"}},{"package":{"name":"openssl","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/openssl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.8-r1"}]}],"versions":["3.5.6-r1","3.5.7-r0","3.5.7-r1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-gtpg-bp5a-zhy5-qell.json"}},{"package":{"name":"openssl","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/openssl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.7-1~deb13u2+dhi0"}]}],"versions":["3.5.5-1~deb13u2dhi0","3.5.6-1~deb13u1+dhi0","3.5.6-1~deb13u1+dhi1","3.5.6-1~deb13u1+dhi2","3.5.6-1~deb13u1+fips+dhi0","3.5.6-1~deb13u1+fips+dhi1","3.5.6-1~deb13u1+fips+dhi2","3.5.6-1~deb13u1dhi0","3.5.6-1~deb13u2+dhi0","3.5.6-1~deb13u2+dhi1","3.5.6-1~deb13u2+dhi2","3.5.6-1~deb13u2+dhi3","3.5.6-1~deb13u2+fips+dhi0","3.5.6-1~deb13u2+fips+dhi1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-gtpg-bp5a-zhy5-qell.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}