Android security tags, read closely by Lightrion

CVE-2025-48632 AI-generated analysis

platform/frameworks/base, Companion Device Manager (android.companion.AssociationRequest)

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

Adds a shared validateDisplayName() length check (DISPLAY_NAME_LENGTH_LIMIT = 1024) to the private AssociationRequest constructor and the @hide setDisplayName() in core/java/android/companion/AssociationRequest.java. Before this, the display-name limit was enforced only in Builder.setDisplayName().

Root cause

AssociationRequest.mDisplayName had a 1024-character limit (DISPLAY_NAME_LENGTH_LIMIT). Before the fix, that limit was checked only in Builder.setDisplayName(). The private constructor AssociationRequest(boolean, List, String, CharSequence, boolean, boolean) stored displayName without validation. The @hide public setDisplayName(CharSequence) overwrote mDisplayName with no validation at all. Any code that reached those paths could therefore create an AssociationRequest with an arbitrarily long display name. Per the field's javadoc, this name is shown in the CDM confirmation UI.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2025 · Findings