{"id":"DHI-cce5-4qdd-ps73-jwgj","summary":"Issue summary: When CMS password-based decryption (RFC 3211 / PWRI key unwrap)","details":"Issue summary: When CMS password-based decryption (RFC 3211 / PWRI key unwrap)\nprocesses attacker-supplied CMS data, an attacker-chosen stream-mode KEK\ncipher can trigger a heap out-of-bounds read in kek_unwrap_key().\n\nImpact summary: A heap buffer over-read may trigger a crash which leads to\nDenial of Service for an application if the input buffer ends at a memory\npage boundary and the following page is unmapped. There is no information\ndisclosure as the over-read bytes are not revealed to the attacker.\n\nThe key unwrapping function performs a check-byte test as specified in the\nRFC that reads 7 bytes from a heap allocation that is based on the wrapped\nkey length from the message. There is a minimum length check based on the\nblock length of the wrapping cipher. However the cipher is selected from\nan OID carried in the attacker's PWRI keyEncryptionAlgorithm with no\nrequirement that the cipher be a block cipher. When an attacker selects\na stream-mode cipher the guard will be ineffective and the allocated buffer\ncontaining the unwrapped key can be too small to fit the check-bytes\nspecified in the RFC and a buffer over-read can happen.\n\nApplications calling CMS_decrypt() or CMS_decrypt_set1_password()\n(equivalently openssl cms -decrypt -pwri_password ...) on untrusted CMS\ndata are vulnerable to this issue. No password knowledge is required: the\nover-read happens during the unwrap attempt before any authentication\nsucceeds.\n\nThe over-read is limited to a few bytes and is not written to output, so\nthere is no information disclosure. Triggering a crash requires the\nallocation to border unmapped memory, which is unlikely with the normal\nallocator.\n\nThe FIPS modules are not affected by this issue.","modified":"2026-11-24T19:00:20.371175949Z","published":"2026-11-20T16:52:19Z","upstream":["CVE-2026-9076"],"database_specific":{"coverage_exclusions":["legacy_package_image_owner"],"coverage":"partial"},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-cce5-4qdd-ps73-jwgj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9076"},{"type":"ADVISORY","url":"https://openssl-library.org/news/secadv/20260609.txt"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/eecbe330977e8d023aae1ca2d9bdbe983ef3fdc6"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/77bf00ab13f6ff5e516535432f0328ed70ec0c26"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/715349a1d7c6db970e6815dafb90915f07307f98"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/3d8d5bc1056b2f62da9fede23fedbf47e85187b0"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/05b066366842f930fadd9a6e94df98030af431bb"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-25239.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25239"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-9076"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3363.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9076"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7383"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45447"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42766"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34180"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3364.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3365.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1853.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45446"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45445"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42770"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42769"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42768"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42767"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42764"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34183"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34182"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34181"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-9076"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-25237.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-25237.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-25239.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-25239.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-50379.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-50379.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-9076"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:25237"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:25239"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-9076"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-9076"}],"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"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-cce5-4qdd-ps73-jwgj.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"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-cce5-4qdd-ps73-jwgj.json","owner_kind":"HSP"}},{"package":{"name":"openssl","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/openssl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.7-r0"}]}],"versions":["3.5.4-r0","3.5.5-r0","3.5.5_git20260330-r1","3.5.6-r0","3.5.6-r1"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-cce5-4qdd-ps73-jwgj.json","owner_kind":"HSP"}},{"package":{"name":"openssl","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/openssl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.7-r0"}]}],"versions":["3.5.6-r1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-cce5-4qdd-ps73-jwgj.json"}},{"package":{"name":"openssl","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/openssl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.6-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"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-cce5-4qdd-ps73-jwgj.json","owner_kind":"HSP"}}],"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"}]}