Android security tags, read closely by Lightrion

CVE-2025-48645 AI-generated analysis

platform/frameworks/base, device admin (core/java/android/app/admin/DeviceAdminInfo.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.

Wraps the pm.getText() call in DeviceAdminInfo.loadDescription in a try/catch that converts an OutOfMemoryError into a NotFoundException, so an oversized device-admin description resource no longer propagates an Error to the caller.

Root cause

DeviceAdminInfo.loadDescription(PackageManager) called pm.getText(mActivityInfo.packageName, mActivityInfo.descriptionRes, mActivityInfo.applicationInfo) directly. The resource comes from the package that declares the device admin receiver. If loading it threw OutOfMemoryError, the method did not handle it and the Error propagated to the caller. The commit message describes this as a DoS caused by a maliciously large string injected into the Receiver's label, while the code changed is the description load. The bulletin rates the issue EoP, High.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2026 · Findings