Android security tags, read closely by Lightrion

CVE-2026-28580 AI-generated analysis

platform/frameworks/base, core/java/android/app/NotificationChannel.java (notification channel parceling and XML persistence)

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.

NotificationChannel drops the parcel-size heuristic for oversized VibrationEffects. On unparceling it now tries to crop the effect and keeps it if it cannot be cropped, and at XML serialization it skips the ATT_VIBRATION_EFFECT attribute when the serialized string is longer than MAX_SERIALIZED_VIBRATION_LENGTH.

Root cause

The NotificationChannel(Parcel) constructor tried to detect a "too large" VibrationEffect approximately. It compared in.dataAvail() (the parcel bytes left before reading the effect) against MAX_SERIALIZED_VIBRATION_LENGTH. The fix applies that same constant to the length of the XML serialized string. This heuristic also required the vibration effect to be the last field in the parcel (see the removed "must remain at the end" comments). On Android 17, fields gated by Flags.nmContextualDisplay() already come after it. On Android 16 the heuristic was also gated by Flags.notifChannelEstimateEffectSize(), with a fallback to getTrimmedVibrationEffect(). During XML serialization, the effect was passed unconditionally to out.attribute(null, ATT_VIBRATION_EFFECT, vibrationToString(getVibrationEffect())) with no length check. So an effect that got past the approximate unparcel check could be written to the channel XML with a serialized value longer than MAX_SERIALIZED_VIBRATION_LENGTH.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings