libde265 is vulnerable to Use After Free
64
Medium Risk
libde265's decoder_context::reset(), invoked during seeking, frees all slice-header structures while clearing the decoded picture buffer but leaves the previous_slice_header pointer dangling. When a dependent slice NAL unit is then decoded, the code copies from the freed slice header (*this = *ctx->previous_slice_header; in slice.cc), a heap use-after-free that can crash the decoder or disclose and corrupt freed memory. Triggering it needs a reset followed by a dependent slice from untrusted input. The fix nulls previous_slice_header in decoder_context::reset().
You are affected if you are using a version that falls within the vulnerable range and you call de265_reset() (for example when seeking) and then decode dependent slices from untrusted input.
libde265 is vulnerable to Use After Free in versions 0.7.0 - 1.1.1.
Upgrade the libde265 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.