Android security tags, read closely by Lightrion

CVE-2026-55257 AI-generated analysis

platform/frameworks/base, SystemUI USB permission/confirm dialogs (packages/SystemUI/src/com/android/systemui/usb/UsbDialogHelper.java)

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

SystemUI's UsbDialogHelper now loads the requesting app's display name with ApplicationInfo.loadSafeLabel (limited to DEFAULT_MAX_LABEL_SIZE_PX, with SAFE_STRING_FLAG_TRIM and SAFE_STRING_FLAG_FIRST_LINE) instead of loadLabel. This keeps an unsanitized app label out of the USB permission/confirm dialogs.

Root cause

In UsbDialogHelper, mAppName (the name of the package requesting USB access) was obtained with aInfo.loadLabel(packageManager). That call returns the label without the size limit, trimming and first-line restriction that loadSafeLabel applies. The app-controlled label was therefore shown unsanitized in the SystemUI USB dialogs. The commit describes this only as a 'label vulnerability'.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings