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.
Problem types
CWE-770: Allocation of Resources Without Limits or Throttling
Product status
References
github.com/...bde265/security/advisories/GHSA-g5hj-rf9f-7vxm
github.com/...ommit/683cb9fa603e35840642f98765ab95cdb71cadf9