Android security tags, read closely by Lightrion

CVE-2025-48615 AI-generated analysis

platform/frameworks/base, system_server media session service (services/core/java/com/android/server/media/MediaButtonReceiverHolder.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 (4 corrections). Verify against the commit before relying on it.

Adds a 1024-character cap on media button receiver component names in MediaButtonReceiverHolder, first for components resolved from a PendingIntent (skipped with a warning) and then for ComponentName broadcast receivers (rejected with IllegalArgumentException).

Root cause

MediaButtonReceiverHolder accepted a media button receiver component name of any length. In getComponentName(PendingIntent, componentType) the ComponentName was built directly from componentInfo.packageName and componentInfo.name of the resolved PendingIntent target, and create(int userId, ComponentName broadcastReceiver) stored the caller-provided ComponentName as-is. The class also flattens the receiver to a string for persistence across boot (see unflattenFromString and its javadoc), so an overly long package or class name entered system_server state without any size check. The first commit message says the fix cannot be tested on main because PackageManager prevents it, so the input relied on a constraint that is not enforced at this layer. The material does not show the concrete consequence of an oversized name.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings