Android security tags, read closely by Lightrion

CVE-2026-0020 AI-generated analysis

platform/frameworks/base, package manager manifest parsing (ParsedPermissionUtils, parsePermission / parsePermissionTree / parsePermissionGroup)

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

Package manifest parsing now trims leading/trailing whitespace from <permission>, <permission-tree> and <permission-group> names in ParsedPermissionUtils, so a declared name is stored in trimmed form rather than as written in the manifest.

Root cause

ParsedPermissionUtils.parsePermission, parsePermissionTree and parsePermissionGroup stored the android:name string from the manifest as-is, so a name with leading or trailing whitespace stayed on the ParsedPermissionImpl / ParsedPermissionGroupImpl object unchanged. The diff does not show which consumer mishandled such names. It only shows that the parser never normalized them.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2026 · Findings