Android security tags, read closely by Lightrion

CVE-2025-26452 AI-generated analysis

platform/frameworks/base, core resources (ResourcesImpl drawable loading for fabricated runtime resource overlays, ResourcesManager)

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.

Restricts the "frro:" drawable-loading branch in ResourcesImpl. The file named in the resource value is now opened only if its canonical path is under /data/resource-cache/, ends in ".frro" and is readable, and only if the offset parameter is non-negative and the size parameter is positive.

Root cause

In core/java/android/content/res/ResourcesImpl.java, when a drawable resource's string value started with "frro://", the code parsed it as a Uri and built a File from '/' + host + path. It opened that file with ParcelFileDescriptor.open(MODE_READ_ONLY), wrapped it in an AssetFileDescriptor using the unchecked "offset" and "size" query parameters, and decoded it as an image. Nothing limited the file to the fabricated-overlay cache directory or to .frro files. Any process loading such a resource value would therefore open and decode whatever readable file the value pointed to, at any offset and size.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2025 · Findings