Android security tags, read closely by Lightrion

CVE-2025-26448 AI-generated analysis

platform/frameworks/base, libs/androidfw CursorWindow (android.database cursor window native backing)

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.

Replaces malloc with calloc for the inline CursorWindow data buffer in CursorWindow::create() so the buffer is zero-initialized before it can be parcelled to a remote process.

Root cause

CursorWindow::create() allocated the inline window buffer (mSize = min(kInlineSize=16384, inflatedSize)) with malloc(window->mSize), leaving the bytes uninitialized. Per the commit message, the caller might not fully fill that buffer before sending it to the remote end, so uninitialized heap contents of the creating process could be transmitted. The commit message says createFromParcel() does not need zeroing because its buffer is immediately filled from the far end.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2025 · Findings