# CVE-2026-49337: libde265 has an unbounded memory leak via orphaned slice headers in `read_slice_NAL`

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- 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.24%, higher than 15% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T19:53:18.817Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-770
- 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.20, a crafted sequence of H.265 NAL units causes `decoder_context::read_slice_NAL()` (`libde265/decctx.cc:481`) to attach slice headers to a finished picture object
that has no active image unit, resulting in attacker-controlled unbounded heap growth. The retained headers are never freed until the picture is released, which may not happen during continuous streaming. Version 1.0.20 patches the issue.

(As written by CVE List.)

## Affected

- strukturag libde265: < 1.0.20

## References

- <https://github.com/strukturag/libde265/security/advisories/GHSA-g5hj-rf9f-7vxm> (exploit)
- <https://github.com/strukturag/libde265/commit/683cb9fa603e35840642f98765ab95cdb71cadf9>

## Sources

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

---

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