{"id":"CVE-2026-49337","summary":"libde265 has an unbounded memory leak via orphaned slice headers in `read_slice_NAL`","details":"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\nthat 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.","aliases":["GHSA-g5hj-rf9f-7vxm"],"modified":"2026-07-08T08:13:40.790062856Z","published":"2026-06-19T19:53:18.817Z","database_specific":{"cna_assigner":"GitHub_M","unresolved_ranges":[{"extracted_events":[{"fixed":"1.0.20"}],"source":"AFFECTED_FIELD"}],"cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49337.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49337.json"},{"type":"ADVISORY","url":"https://github.com/strukturag/libde265/security/advisories/GHSA-g5hj-rf9f-7vxm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49337"},{"type":"FIX","url":"https://github.com/strukturag/libde265/commit/683cb9fa603e35840642f98765ab95cdb71cadf9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libde265","events":[{"introduced":"0"},{"fixed":"683cb9fa603e35840642f98765ab95cdb71cadf9"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v1.0.19","v1.0.18","v1.0.17","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/cve-osv-conversion/osv-output/CVE-2026-49337.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"}]}