CVE-2026-119378
SQLite before 3.54.0 Use-After-Free in R-Tree nodeWrite()
Description
SQLite before 3.54.0 contains a use-after-free vulnerability in the R-Tree extension that allows attackers to make applications use freed heap memory by manipulating the %_node shadow table. Attackers can supply a database declaring %_node WITHOUT ROWID or with a RAISE(IGNORE) trigger so nodeWrite() hashes nodes as 0, crashing the process after node splits.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.fpliu.ndk.pkg.prefab.android.21 » sqlitepreliminary | < 3.54.0< d21bd37c7cfc1b85b17a6703555f0926b6236e04 | 3.54.0, d21bd37c7cfc1b85b17a6703555f0926b6236e04 |
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-rtree-rowid0
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119378.json
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-119378
- Advisoryhttps://sqlite.org/releaselog/3_54_0.html
- Advisoryhttps://www.vulncheck.com/advisories/sqlite-before-3.54.0-use-after-free-in-r-tree-nodewrite
- Fixhttps://github.com/sqlite/sqlite/commit/d21bd37c7cfc1b85b17a6703555f0926b6236e04
- Fixhttps://sqlite.org/src/info/6a9e1415659f9e75
- Packagehttps://github.com/sqlite/sqlite
- Articlehttps://github.com/sqlite/sqlite/blob/version-3.53.4/ext/rtree/rtree.c#L905
