Android security tags, read closely by Lightrion

CVE-2026-58817 AI-generated analysis

platform/frameworks/base, package manager manifest parsing (ParsingUtils, knownActivityEmbeddingCerts)

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

Adds validation to the knownActivityEmbeddingCerts manifest attribute parsing in ParsingUtils: certificate digest strings whose length is not 64 characters are dropped, and a parse error is returned if more than 50 digests remain.

Root cause

The knownActivityEmbeddingCerts parsing method in core/java/com/android/internal/pm/pkg/parsing/ParsingUtils.java accepted whatever the app's resources supplied. For an array resource it did Set.of(res.getStringArray(...)) with no limit on the number of entries and no check on the content or length of each entry. For a string resource or literal string it wrapped the value in Set.of without length validation. Per the commit message, an app could therefore bloat its manifest with an arbitrary number of arbitrary-length "certificate" strings, which are later used in signature verification at app launch, causing performance degradation (DoS, rated High in the bulletin).

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings