Android security tags, read closely by Lightrion

CVE-2026-28618 AI-generated analysis

platform/external/libopenapv, APV decoder (src/oapv.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 (4 corrections). Verify against the commit before relying on it.

Adds a check in libopenapv's dec_frm_prepare that returns OAPV_ERR_INVALID_ARGUMENT when the plane-0 width or height of the output image buffer supplied by the caller is smaller than the frame dimensions in the Frame PBU header, preventing a heap buffer overflow.

Root cause

The caller allocates the decoder's output image buffer (oapv_imgb_t *imgb) from the AU_INFO dimensions. dec_frm_prepare in src/oapv.c, however, takes the frame dimensions from the Frame PBU header (ctx->fh.fi.frame_width / frame_height) and sets ctx->w / ctx->h from them without checking that imgb is large enough. Per the commit message, a Frame PBU that declares larger dimensions than AU_INFO leads to a heap buffer overflow on that buffer. The material does not show which function performs the out-of-bounds access.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2026 · Findings