Android security tags, read closely by Lightrion

CVE-2026-0096 AI-generated analysis

platform/packages/apps/Settings, Bluetooth (ForgetDeviceDialogFragment)

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

Settings' Bluetooth forget-device dialog fragment now loads app labels via ApplicationInfo.loadSafeLabel (MAX_SAFE_LABEL_LENGTH, TRIM | FIRST_LINE flags) instead of the raw PackageManager.getApplicationLabel, so app-supplied labels are sanitized before use in the dialog.

Root cause

ForgetDeviceDialogFragment.getAppLabel(String packageName) returned mPackageManager.getApplicationLabel(mPackageManager.getApplicationInfo(packageName, 0)) with no sanitization (no length limit, trimming or first-line restriction). The fragment imports AssociationInfo, CompanionDeviceManager and ListFormatter, which suggests the labels belong to companion apps associated with the device and are combined into the dialog text. The material does not show that code directly. The application label is defined by the app itself, so unsanitized app-controlled text could reach the Settings confirmation dialog.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings