# CVE-2026-45382: libde265 has a heap-buffer-overflow READ in decode_slice_unit_tiles via unvalidated PPS tile geometry

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- 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.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-21T20:57:48.312Z
- Modified: 2026-10-24T19:10:00.127Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, 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.19, `decoder_context::decode_slice_unit_tiles` (libde265/decctx.cc:920) reads `pps.CtbAddrRStoTS[ctbAddrRS]` at line 966 where `ctbAddrRS = ctbY * ctbsWidth + ctbX` is computed from PPS-supplied `colBd[]`/`rowBd[]` arrays without validating the result against `CtbAddrRStoTS.size() == sps->PicSizeInCtbsY`. A malformed PPS that passes `set_derived_values` but encodes geometry inconsistent with the SPS produces a `ctbAddrRS` past the allocation, causing a 4-byte heap-buffer-overflow READ. Version 1.0.19 fixes the issue.

(As written by CVE List.)

## Affected

- strukturag libde265: < 1.0.19

## References

- <https://github.com/strukturag/libde265/security/advisories/GHSA-hwhx-x2mq-ccr9> (exploit)

## Sources

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

---

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