Android security tags, read closely by Lightrion

CVE-2025-0080 AI-generated analysis

platform/frameworks/base, packages/PackageInstaller (app unarchive / restore flow: UnarchiveActivity, UnarchiveFragment)

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

The fix hardens the PackageInstaller unarchive confirmation UI against overlays in two ways: it adds SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS to UnarchiveActivity's window, and it disables the dialog's Restore button whenever UnarchiveFragment is paused, then re-enables it on resume.

Root cause

UnarchiveActivity displayed the UnarchiveFragment AlertDialog (title built from APP_TITLE/INSTALLER_TITLE, positive button R.string.restore, negative button cancel) without setting SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS on its window. Non-system overlays could therefore be shown over the restore confirmation. The fragment also kept the Restore button enabled even when another window was shown on top of PackageInstaller.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2025 · Findings