Android security tags, read closely by Lightrion

CVE-2026-0006 AI-generated analysis

platform/external/libopenapv (OpenAPV codec library). Per index search, it is used by the Codec2 software APV components in frameworks/av/media/codec2/components/apv.

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 (10 corrections). Verify against the commit before relying on it.

The fix upgrades external/libopenapv as a whole, from upstream v0.1.13.1 to v0.2.0.0 (commit cf0a0e7a810e, bug 423894847). This replaces the APV bitstream/VLC code (src/oapv_vlc.c), the metadata handling (src/oapv_metadata.c), the bitstream reader/writer (src/oapv_bs.c) and the core codec (src/oapv.c) with newer upstream code, and changes the public API in inc/oapv.h.

Root cause

The material does not isolate the vulnerable code. The fix commit is a version bump ('Upgrade libopenapv to v0.2.0.0') that touches 47 files, with 2651 insertions and 2383 deletions. The diff provided covers the build files, the sample apps, inc/oapv.h, the AVX/NEON transform code and the start of src/oapv.c. The diffs for src/oapv_vlc.c (1458 lines changed), src/oapv_metadata.c (367) and src/oapv_bs.c (28) are in the truncated part. The bulletin only gives the severity (Critical) and type (RCE). Visible changes: the oapvm_payload metadata structure is reordered (data_size renamed to size and moved before data, uuid moved to the end); oapvm_set loses its uuid parameter; new error codes are added (OAPV_ERR_INVALID_PROFILE, OAPV_ERR_INVALID_WIDTH, OAPV_ERR_INVALID_HEIGHT, OAPV_ERR_INVALID_QP, OAPV_ERR_INVALID_FAMILY). The specific missing check in v0.1.13.1 cannot be identified from the provided diff.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2026 · Findings