Android security tags, read closely by Lightrion

CVE-2026-0078 AI-generated analysis

platform/frameworks/base, DevicePolicyManagerService (device policy / global proxy)

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.

DevicePolicyManagerService.setGlobalProxy now rejects proxySpec and exclusionList strings whose modified-UTF-8 encoding exceeds 65535 bytes (via PolicySizeVerifier.enforceMaxStringLength) before storing them in the admin's policy state.

Root cause

In DevicePolicyManagerService.setGlobalProxy, in the else branch (the branch that does not clear the fields), the service set admin.specifiesGlobalProxy = true and stored the caller-supplied proxySpec and exclusionList into admin.globalProxySpec and admin.globalProxyExclusionList without any size check. The new PolicySizeVerifier.countBytes documents the limit: a string whose modified-UTF-8 form is longer than 65535 bytes cannot have its length represented by a short (UTFDataFormatException "String more than 65535 UTF bytes long"). The material does not show the downstream serialization failure path itself.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings