Android security tags, read closely by Lightrion

CVE-2026-59028 AI-generated analysis

platform/packages/apps/Nfc (platform/packages/modules/Nfc, NfcNci, on 16+), card emulation AID routing (RegisteredAidCache)

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.

Changes RegisteredAidCache AID conflict resolution in the wallet-role path so that the default wallet role holder's own services take precedence over associated (shared role priority) services in two places: when several wallet-tier services claim the same AID, and when a wallet-tier prefix AID conflicts with an exact child AID registered by the wallet holder.

Root cause

In RegisteredAidCache.resolveAidLocked, with the wallet role feature enabled, every service collected into defaultWalletServices was sorted only case-insensitively by component short string, and the service at index 0 became the default route. This list holds the wallet holder's own services plus associated services that share the role priority. An associated service with an alphabetically earlier component name could therefore take the AID from the real wallet holder. Separately, in the wallet-role branch of resolveAidConflictLocked, a prefix AID with walletDefaults could conflict with exact child AIDs. The only check that let the child rule govern was conflictingDefaultInfo.foregroundDefault != null. The wallet holder's own exact AID registrations in conflictingDefaultInfo.walletDefaults were not considered, so a wallet-tier prefix registration could shadow the wallet holder's exact AIDs.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings