Intel

AIKIDO-2026-735473

libde265 is vulnerable to Use After Free

Use After FreeGHSA-xp3h-6f5r-8cxp Published 3 days ago

59

Medium Risk

This Affects:

C++libde265
1.0.0 - 1.1.1
Fixed in 1.1.2
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

libde265 is vulnerable to Use After Free in versions 1.0.0 - 1.1.1.

How to fix this

Upgrade the libde265 library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform