libde265 is vulnerable to Use After Free
59
Medium Risk
libde265 shares per row CABAC context state (imgunit->ctx_models[row]) between worker threads during multi-threaded WPP (Wavefront Parallel Processing) decoding without proper synchronization. A crafted H.265 bitstream that repeats or rewinds slice_segment_address values inside a picture makes CTB rows already marked finished run again, so concurrent copy, release, assignment, and decouple of context_model_table state corrupts its ownership metadata and produces a heap use-after-free and double free. This can crash the decoder and, in principle, corrupt heap memory. The fix rejects out-of-order slice segments, resets WPP row progress per segment, and makes CTB progress counters and image integrity flags atomic.
You are affected if you are using a version that falls within the vulnerable range and you decode untrusted H.265/HEVC bitstreams with multi-threaded WPP decoding enabled.
libde265 is vulnerable to Use After Free in versions 1.0.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.