SQLite
SQLite before 3.53.2 Heap Buffer Overflow via FTS5 fts5ChunkIterate
SQLite before 3.53.2 contains a heap-based buffer overflow vulnerability in the FTS5 full-text search extension that allows attackers to cause a crash or execute arbitrary code by supplying a crafted database with malicious continuation page metadata specifying a szLeaf value smaller than 4. Attackers can trigger an integer underflow in fts5ChunkIterate() causing an inflated remaining byte count during FTS5 MATCH query processing, leading to a heap buffer overflow of attacker-controlled data in applications compiled with SQLITE_ENABLE_FTS5.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.5high · scored by CNA · CWE-122
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
SQLite SQLite
- < 3.53.2
Fixed in 3.53.2
Mitigation
Upgrade SQLite to 3.53.2 or later.
References
- Patch sqlite.org/src/info/061febcf41ca
- Patch sqlite.org/src/info/4a5ad516ea93
- Release notes sqlite.org/releaselog/3_53_2.html
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.