CVE-2026-119373
SQLite before 3.54.0 FTS5 Heap Buffer Overflow via fts5MergeRowidLists()
Description
SQLite before 3.54.0 built with FTS5 contains a heap buffer overflow in fts5MergeRowidLists() that undersizes the output buffer when merging detail=none prefix doclists. Attackers who can populate a detail=none FTS5 table with negative rowids and run a prefix MATCH query can write past the allocation, corrupting heap memory and crashing the process.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.fpliu.ndk.pkg.prefab.android.21 » sqlitepreliminary | < 3.54.0< e1c9934f9f11a499029abb020ea715a08970da80 | 3.54.0, e1c9934f9f11a499029abb020ea715a08970da80 |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://sqlite.org/
- Advisoryhttps://abraxaslabs.tech/research/sqlite-fts5-rowidmerge
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119373.json
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-119373
- Advisoryhttps://sqlite.org/releaselog/3_54_0.html
- Advisoryhttps://www.vulncheck.com/advisories/sqlite-before-3.54.0-fts5-heap-buffer-overflow-via-fts5mergerowidlists
- Reporthttps://sqlite.org/bugs/info/2026-08-04T08:49:27Z
- Fixhttps://github.com/sqlite/sqlite/commit/e1c9934f9f11a499029abb020ea715a08970da80
- Fixhttps://sqlite.org/src/info/a7f8c92f62
- Packagehttps://github.com/sqlite/sqlite
- Articlehttps://github.com/sqlite/sqlite/blob/version-3.53.4/ext/fts5/fts5_index.c#L6107
