# CVE-2026-33165: heap out-of-bounds write in libde265 1.0.16

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-20T20:32:36.603Z
- Modified: 2026-06-17T10:37:03.743Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- strukturag libde265: < 1.0.17
- struktur libde265: before 1.0.17

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/strukturag/libde265/security/advisories/GHSA-653q-9f73-8hvg> (exploit, patch, vendor-advisory)
- <https://github.com/strukturag/libde265/commit/c7891e412106130b83f8e8ea8b7f907e9449b658> (patch)
- <https://github.com/strukturag/libde265/releases/tag/v1.0.17> (release-notes)

## Sources

- CVE List: [CVE-2026-33165](https://www.cve.org/CVERecord?id=CVE-2026-33165), CVE Terms of Use, modified 2026-03-24
- NVD: [CVE-2026-33165](https://nvd.nist.gov/vuln/detail/CVE-2026-33165), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33165 · Whole record: https://cve.day/CVE-2026-33165.json · Rebuilt by cve.day 2026-11-25T22:59:16.344Z
