Android security tags, read closely by Lightrion

CVE-2025-48523 AI-generated analysis

platform/packages/apps/Contacts, vCard import (src/com/android/contacts/vcard/SelectAccountActivity.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.

Removes the branch in SelectAccountActivity.onCreate that silently returned the sole writable account as RESULT_OK. When one or more accounts exist, the account selection dialog is now always shown, so the vCard import flow no longer picks the account automatically.

Root cause

SelectAccountActivity.onCreate fetched the writable accounts with AccountTypeManager.blockForWritableAccounts(). When exactly one account existed, it immediately built a result Intent with ACCOUNT_NAME, ACCOUNT_TYPE and DATA_SET, called setResult(RESULT_OK, intent) and finish(), without showing any UI. On single-account devices the caller therefore received a selected account with no user interaction. The commit message says the security team recommended this change to prevent auto-importing when a single account exists (b/388032224).

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2025 · Findings