Android security tags, read closely by Lightrion

CVE-2025-32328 AI-generated analysis

platform/frameworks/base, services/autofill (FillUi, DialogFillUi, SaveUi, Session, Helper)

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.

The Autofill system UI (FillUi, DialogFillUi, SaveUi) now inflates service-supplied RemoteViews (and in SaveUi its whole UI) with a Context created for the current foreground user (new Helper.getUserContext) instead of the system_server user 0 context. Session also fetches the service's custom icon and label resources under a cleared Binder calling identity.

Root cause

FillUi, DialogFillUi and SaveUi built their Context as new ContextThemeWrapper(context, mThemeId) from the system_server context. FillUi and DialogFillUi passed it to RemoteViews.applyWithTheme for the presentations supplied by the autofill service in the FillResponse (main presentation, header, footer, per-dataset views, dialog presentations). SaveUi used it as the base context for its UI. system_server runs as user 0, so these views were inflated as user 0 rather than as the current foreground user. In FillUi a RemoteView URI permission check (a Helper method documented as checking against the current userId; failure throws 'Permission error accessing RemoteView') already existed, but the inflation that followed still used the user 0 context. Session.getServiceIcon and the service label lookup called PackageManager.getDrawable/getText on the master context without clearing the Binder calling identity.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2025 · Findings