Android security tags, read closely by Lightrion

CVE-2026-55256 AI-generated analysis

platform/frameworks/base, telephony MMS PDU parser (telephony/common/com/google/android/mms/pdu/PduParser.java); mirrored copy in platform/development samples/ApiDemos mmslib

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 null checks in PduParser.parsePartHeaders so that a null Content-Disposition token-text value, a null filename parameter, or a null custom text header name or value is no longer passed on or dereferenced, which prevents NullPointerExceptions while parsing an MMS PDU.

Root cause

In PduParser.parsePartHeaders, values from the parser were used without a null check in three places. The parseWapString(pduDataStream, TYPE_TEXT_STRING) result for the Token-text form of Content-Disposition went straight to part.setContentDisposition(...). The parseWapString result for the P_FILENAME parameter went straight to part.setFilename(...). In the custom text header branch, tempHeader was dereferenced via new String(tempHeader) in the Content-Transfer-Encoding comparison, and tempValue (a parseWapString result) was passed to part.setContentTransferEncoding. The commit message describes these as potential NPEs, and the bulletin rates the issue as a Critical DoS. The added guards imply these values can be null; the conditions under which parseWapString returns null are not shown.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2026 · Findings