Android security tags, read closely by Lightrion

CVE-2026-28584 AI-generated analysis

platform/frameworks/base, PackageManager / PackageInstallerService (install session parameters)

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

PackageInstallerService now deduplicates SessionParams.whitelistedRestrictedPermissions (rebuilding the list from a HashSet) before intersecting it with the platform restricted permission set, so the list can no longer be made arbitrarily long with repeated valid entries.

Root cause

In services/core/java/com/android/server/pm/PackageInstallerService.java, the only check on params.whitelistedRestrictedPermissions was retainAll(mPm.getAllPlatformRestrictedPermissions()). retainAll removes unknown permission names but keeps every duplicate of a valid name, so the caller controlled the length of the list. The field is a hidden API, but the commit message says it can be set directly through reflection. A caller could therefore supply a very large list of repeated valid restricted permission names that passed this check. The regression test is named SessionSizeLimitTest, which suggests the impact is growth in session size; the bulletin rates it DoS.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2026 · Findings