Android security tags, read closely by Lightrion

CVE-2026-55294 AI-generated analysis

platform/external/libhevc, HEVC software decoder (libhevcdec), TU data sizing in decoder/ihevcd_utils.c

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (3 corrections). Verify against the commit before relying on it.

In libhevc's ihevcd_get_tu_data_size(), the tu_map part of the TU data size is now budgeted with num_tu (luma plus chroma TUs) instead of num_luma_tu, so the size matches the space the initialization logic consumes.

Root cause

ihevcd_get_tu_data_size() computes the TU data size as the sum of several sub-regions: CTB start indices, tu_map, the tu_t array, coded-subblock/scan_idx bytes and coefficient data. Every per-TU sub-region except tu_map was sized with num_tu = num_luma_tu + num_chroma_tu. tu_map was sized with num_luma_tu * sizeof(UWORD8) only. According to the commit message, the initialization logic consumes tu_map space for both luma and chroma TUs, so the tu_map budget was too small and a heap buffer overflow resulted. The writer code is not in the material.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2026 · Findings