Android security tags, read closely by Lightrion

CVE-2025-48522 AI-generated analysis

platform/frameworks/base, CompanionDeviceManager (core/java/android/companion/AssociationRequest.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 (5 corrections). Verify against the commit before relying on it.

AssociationRequest.Builder.setDisplayName now rejects display names longer than 1024 characters with an IllegalArgumentException. Before, it accepted an app-supplied string of any length, and that string is shown in the CompanionDeviceManager confirmation UI.

Root cause

AssociationRequest.Builder.setDisplayName only called requireNonNull on the caller-supplied CharSequence and stored it with no length limit. The class javadoc in the code context describes this display name as "the Display name of the device to be shown in the CDM confirmation UI" and says it must be non-null for self-managed associations. An application could therefore pass a display name of any length into an association request that the system shows to the user. The bulletin rates the issue as a High severity EoP. The material does not show what the oversized name actually causes downstream.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2025 · Findings