{"id":"JLSEC-2026-1768","summary":"Issue summary: OpenSSL CMS decryption sizes the key-unwrap output buffer based on querying the...","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-12-01T23:15:02.134104822Z","published":"2026-12-01T23:02:50.836Z","upstream":["CVE-2026-63072","GHSA-wp5f-6q39-q2f4","EUVD-2026-65482"],"database_specific":{"license":"CC-BY-4.0","sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63072","database_specific":{"status":"Analyzed"},"affected":{"openssl:openssl":["\u003e= 3.0.0, \u003c 3.0.22","\u003e= 3.4.0, \u003c 3.4.7","\u003e= 3.5.0, \u003c 3.5.8","\u003e= 3.6.0, \u003c 3.6.4","\u003e= 4.0.0, \u003c 4.0.2"]},"id":"CVE-2026-63072","imported":"2026-12-01T22:40:04.843Z","modified":"2026-09-11T21:16:34.287Z","published":"2026-08-25T13:19:26.010Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-63072"},{"modified":"2026-08-25T15:33:06Z","published":"2026-08-25T15:32:58Z","url":"https://api.github.com/advisories/GHSA-wp5f-6q39-q2f4","html_url":"https://github.com/advisories/GHSA-wp5f-6q39-q2f4","id":"GHSA-wp5f-6q39-q2f4","imported":"2026-12-01T22:41:01.124Z"},{"affected":{"OpenSSL:OpenSSL":["1.1.1 \u003c1.1.1zi","3.0.0 \u003c3.0.22","3.4.0 \u003c3.4.7","3.5.0 \u003c3.5.8","3.6.0 \u003c3.6.4","4.0.0 \u003c4.0.2"]},"id":"EUVD-2026-65482","imported":"2026-12-01T22:40:06.525Z","modified":"2026-08-25T14:29:55Z","published":"2026-08-25T12:59:34Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-65482","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-65482"}]},"references":[{"type":"WEB","url":"https://github.com/advisories/GHSA-wp5f-6q39-q2f4"},{"type":"WEB","url":"https://github.com/openssl/openssl/commit/2a3dac874c8057c1f0186849bf1ede1ae7b6b756"},{"type":"WEB","url":"https://github.com/openssl/openssl/commit/87784ad619af36b8807c2044b3940006fccc1e42"},{"type":"WEB","url":"https://github.com/openssl/openssl/commit/9530a5fd1aacaeccdced4478ea2340a480613335"},{"type":"WEB","url":"https://github.com/openssl/openssl/commit/9ec2f6d2ae2bcad907cf7ee38584855bafe4979a"},{"type":"WEB","url":"https://github.com/openssl/openssl/commit/a0c8ec557d9cac078f032d76cdf684fe743eb382"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63072"},{"type":"WEB","url":"https://openssl-library.org/news/secadv/20260825.txt"}],"affected":[{"package":{"name":"AppBundler","ecosystem":"Julia","purl":"pkg:julia/AppBundler?uuid=40eb83ae-c93a-480c-8f39-f018b568f472"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.0.1"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1768.json"}},{"package":{"name":"OpenSSL_jll","ecosystem":"Julia","purl":"pkg:julia/OpenSSL_jll?uuid=458c3c95-2e84-50aa-8efc-19380b2a3a95"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.1.1+0"},{"fixed":"3.5.8+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1768.json"}},{"package":{"name":"Openresty_jll","ecosystem":"Julia","purl":"pkg:julia/Openresty_jll?uuid=87da34d4-7b1b-5a94-8376-8cb65bf3132c"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.19.9+0"},{"fixed":"1.27.1+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1768.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","source":"CNA"}]}