Description
SQLite before 3.54.0 built with the session extension contains a heap buffer overflow vulnerability in sqlite3changeset_apply() that allows attackers to corrupt heap memory by supplying crafted changesets. Attackers can repeat a table name in a second changeset block with a larger column count, causing sessionUpdateFind() to memset past the undersized aUpdateMask allocation.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
SQLite SQLite
Default version status: unaffected
0 to < 3.54.0affected
References
- https://sqlite.org/bugs/info/2026-08-16T10:15:25Z ↗
- https://sqlite.org/src/info/3f57024aecea0f3b ↗
- https://github.com/sqlite/sqlite/commit/64459c87cc702d600704fb77ee40ca1782398a52 ↗
- https://github.com/sqlite/sqlite/blob/version-3.53.4/ext/session/sqlite3session.c#L5619 ↗
- https://sqlite.org/releaselog/3_54_0.html ↗
- https://abraxaslabs.tech/research/sqlite-session-ncol ↗
- https://github.com/sqlite/sqlite ↗
- https://www.vulncheck.com/advisories/sqlite-before-3.54.0-heap-buffer-overflow-via-session-extension-sessionupdatefind ↗