Android security tags, read closely by Lightrion

CVE-2026-58883 AI-generated analysis

platform/frameworks/opt/telephony (ImsPhone, IMS P-Associated-URI phone number extraction) and platform/packages/modules/Telephony (PhoneNumberManagerService)

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

Two commits make P-Associated-URI parsing robust against a URI whose scheme-specific part is only the "@" delimiter (e.g. "sip:@"). They use split("@", 2) so the result array is never empty, and they widen the catch in ImsPhone.setPhoneNumberForSourceIms from IllegalArgumentException to RuntimeException so an exception from PhoneNumberManager.parsePhoneNumber is logged instead of left uncaught.

Root cause

Both PhoneNumberManagerService.extractPhoneNumber and ImsPhone.extractPhoneNumberFromAssociatedUris strip the host part of a SIP URI with uri.getSchemeSpecificPart().split("@")[0] / ssp.split("@")[0]. Java's String.split with no limit drops trailing empty strings. So when the scheme-specific part is only delimiters (the test case is "sip:@", whose ssp is "@"), the returned array is empty and [0] throws ArrayIndexOutOfBoundsException. In PhoneNumberManagerService the split runs before the try block, which only catches NumberParseException, so the exception propagates out of parsePhoneNumber. In ImsPhone.setPhoneNumberForSourceIms the surrounding try only caught IllegalArgumentException, so the exception went uncaught; the commit message says the new catch prevents crash loops. The legacy, non-flagged path in ImsPhone.extractPhoneNumberFromAssociatedUris had the same split pattern.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings