{"id":"CVE-2026-33165","summary":"heap out-of-bounds write in libde265 1.0.16","details":"libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.17, a crafted HEVC bitstream causes an out-of-bounds heap write confirmed by AddressSanitizer. The trigger is a stale ctb_info.log2unitSize after an SPS change where PicWidthInCtbsY and PicHeightInCtbsY stay constant but Log2CtbSizeY changes, causing set_SliceHeaderIndex to index past the allocated image metadata array and write 2 bytes past the end of a heap allocation. This issue has been patched in version 1.0.17.","aliases":["GHSA-653q-9f73-8hvg"],"modified":"2026-11-25T00:45:15.004766612Z","published":"2026-03-20T20:32:36.603Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33165.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-787"]},"references":[{"type":"WEB","url":"https://github.com/strukturag/libde265/releases/tag/v1.0.17"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33165.json"},{"type":"ADVISORY","url":"https://github.com/strukturag/libde265/security/advisories/GHSA-653q-9f73-8hvg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33165"},{"type":"FIX","url":"https://github.com/strukturag/libde265/commit/c7891e412106130b83f8e8ea8b7f907e9449b658"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libde265","events":[{"introduced":"0"},{"fixed":"f3d916c8e63e510bda1f9cf5e8710259c22afece"},{"fixed":"c7891e412106130b83f8e8ea8b7f907e9449b658"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:struktur:libde265:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"1.0.17"}]},{"range":[{"fixed":"c7891e412106130b83f8e8ea8b7f907e9449b658"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v1.0.17","range":[{"fixed":"f3d916c8e63e510bda1f9cf5e8710259c22afece"}],"source":"REFERENCES_TAG"}]}}],"versions":["v1.0.16","v1.0.15","v1.0.14","v1.0.13","v1.0.12","v1.0.11","v1.0.10","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.0","v0.5","v0.4","v0.3","v0.2","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-33165.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}