Android security tags, read closely by Lightrion

CVE-2025-48575 AI-generated analysis

platform/packages/apps/CertInstaller, CertInstaller activity (CA certificate installation flow)

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 (3 corrections). Verify against the commit before relying on it.

CertInstaller now trusts a "called by Settings" referrer for the CA certificate installation path only if the package named com.android.settings resolves to the system uid. Before, it relied on the referrer package-name string alone.

Root cause

CredentialHelper.calledBySettings() returned true whenever mReferrer was string-equal to "com.android.settings". CertInstaller used this in two places to choose the privileged InstallOthersAction / installCertificateOrShowNameDialog() path. Nothing checked that the package with that name was really the system Settings app. Per the commit comment, some systems have no preinstalled com.android.settings, so an impostor package could take that name, be treated as Settings, and install CA certificates through CertInstaller.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2025 · Findings