Android security tags, read closely by Lightrion

CVE-2025-48542 AI-generated analysis

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

Adds per-account storage accounting to AccountManagerService. Once an account's estimated user-data and auth-token storage exceeds 30,000,000 divided by the number of accounts, new user-data writes are dropped silently and auth-token writes return false. Passwords longer than 1,000,000 characters are rejected on account add and on password change.

Root cause

AccountManagerService accepted user data (setUserdataInternal), auth tokens (the save path calling accounts.accountsDb.insertAuthToken) and passwords with no size limit. Only the account name was length-limited (existing 200-character check). Nothing tracked how much storage an account used in the accounts DB or in userDataCache/authTokenCache, so a caller able to write to an account could grow the database and the system_server caches without limit. The bulletin rates this as a High severity DoS.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2025 · Findings