{"id":16315,"date":"2026-09-04T19:05:17","date_gmt":"2026-09-04T11:05:17","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-9076"},"modified":"2026-09-04T19:05:17","modified_gmt":"2026-09-04T11:05:17","slug":"cve-2026-9076","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-9076","title":{"rendered":"CVE-2026-9076 [HIGH] &#8211; Issue summary: When CMS password-based decryption (RFC 3211 \/ PWRI key unwrap)\nprocesses a"},"content":{"rendered":"<p>Issue summary: When CMS password-based decryption (RFC 3211 \/ PWRI key unwrap)<br \/>\nprocesses attacker-supplied CMS data, an attacker-chosen stream-mode KEK<br \/>\ncipher can trigger a heap out-of-bounds read in kek_unwrap_key().<\/p>\n<p>Impact summary: A heap buffer over-read may trigger a crash which leads to<br \/>\nDenial of Service for an application if the input buffer ends at a memory<br \/>\npage boundary and the following page is unmapped. There is no information<br \/>\ndisclosure as the over-read bytes are not revealed to the attacker.<\/p>\n<p>The key unwrapping function performs a check-byte test as specified in the<br \/>\nRFC that reads 7 bytes from a heap allocation that is based on the wrapped<br \/>\nkey length from the message. There is a minimum length check based on the<br \/>\nblock length of the wrapping cipher. However the cipher is selected from<br \/>\nan OID carried in the attacker&#8217;s PWRI keyEncryptionAlgorithm with no<br \/>\nrequirement that the cipher be a block cipher. When an attacker selects<br \/>\na stream-mode cipher the guard will be ineffective and the allocated buffer<br \/>\ncontaining the unwrapped key can be too small to fit the check-bytes<br \/>\nspecified in the RFC and a buffer over-read can happen.<\/p>\n<p>Applications calling CMS_decrypt() or CMS_decrypt_set1_password()<br \/>\n(equivalently openssl cms -decrypt -pwri_password &#8230;) on untrusted CMS<br \/>\ndata are vulnerable to this issue. No password knowledge is required: the<br \/>\nover-read happens during the unwrap attempt before any authentication<br \/>\nsucceeds.<\/p>\n<p>The over-read is limited to a few bytes and is not written to output, so<br \/>\nthere is no information disclosure. Triggering a crash requires the<br \/>\nallocation to border unmapped memory, which is unlikely with the normal<br \/>\nallocator.<\/p>\n<p>The FIPS modules are not affected by this issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Issue summary: When CMS password-based decryption (RFC 3211 \/ PWRI key unwrap)<br \/>\nprocesses attacker-supplied CMS data, an attacker-chosen stream-mode KEK<br \/>\ncipher can trigger a heap out-of-bounds read in <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-16315","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/16315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}