Android security tags, read closely by Lightrion

CVE-2025-26432 AI-generated analysis

platform/frameworks/base, CompanionDeviceManager system service (services/companion)

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.

Adds a 1024-character upper bound on the tag string accepted by CompanionDeviceManagerService's setAssociationTag binder method, rejecting longer tags with IllegalArgumentException before they reach AssociationRequestsProcessor.

Root cause

The overridden setAssociationTag(int associationId, String tag) method inside CompanionDeviceManagerService forwarded the caller-supplied tag string to mAssociationRequestsProcessor.setAssociationTag without any limit on its length, so an arbitrarily large tag could be passed on to the processor. The bulletin classifies the impact as DoS.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2025 · Findings