Android security tags, read closely by Lightrion

CVE-2025-22441 AI-generated analysis

platform/frameworks/base, core/java/android/widget/RemoteViews and core/java/android/appwidget/AppWidgetHostView (widget / RemoteViews inflation in host processes)

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.

RemoteViews now builds the remote application Context from an ApplicationInfo fetched from PackageManager (keyed by package name and user id) instead of the parceled ApplicationInfo supplied by the RemoteViews-providing app, and the LoadedApk.checkAndUpdateApkPaths calls in RemoteViews and AppWidgetHostView are removed.

Root cause

When a host process inflated a RemoteViews, the code in RemoteViews.java that creates a Context for the remote app used the ApplicationInfo object (mApplication) read from the RemoteViews parcel/bundle supplied by the widget-providing app. It passed this object to LoadedApk.checkAndUpdateApkPaths(mApplication) and to context.createApplicationContext(mApplication, Context.CONTEXT_RESTRICTED). The commit message says the fields of this object could not be relied on to be accurate, so the host built a Context from data provided by the sending app. AppWidgetHostView.getRemoteContextEnsuringCorrectCachedApkPath also called LoadedApk.checkAndUpdateApkPaths on mInfo.providerInfo.applicationInfo before creating the application Context.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to August 2025 · Findings