MODERATE 5.5
CVE-2026-119372
SQLite before 3.54.0 Use-After-Free in FTS3 fts3BestSnippet() via snippet()
Preliminary: affected artifacts
were inferred from the fix commits of the source repository
and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.
Description
SQLite before 3.54.0 built with FTS3/FTS4 and SQLITE_ENABLE_FTS3_PARENTHESIS contains a use-after-free vulnerability in fts3BestSnippet() caused by dangling cached position-list pointers. Attackers can run a full-text MATCH query combining OR and NEAR operators with snippet() to read freed heap memory and crash the process.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.fpliu.ndk.pkg.prefab.android.21 » sqlitepreliminary | < 3.54.0< a87bd2471a9c0606e78d3c3678bcd9cecaa0e731 | 3.54.0, a87bd2471a9c0606e78d3c3678bcd9cecaa0e731 |
Blast radius
1affected artifacts
1affected versions
0dependent artifacts (est.)
0dependent versions
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-fts3-snippet
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119372.json
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-119372
- Advisoryhttps://sqlite.org/releaselog/3_54_0.html
- Advisoryhttps://www.vulncheck.com/advisories/sqlite-before-3.54.0-use-after-free-in-fts3-fts3bestsnippet-via-snippet
- Reporthttps://sqlite.org/bugs/info/2026-08-17T09:18:24Z
- Fixhttps://github.com/sqlite/sqlite/commit/a87bd2471a9c0606e78d3c3678bcd9cecaa0e731
- Fixhttps://sqlite.org/src/info/e4635c4153
- Packagehttps://github.com/sqlite/sqlite
- Articlehttps://github.com/sqlite/sqlite/blob/version-3.53.4/ext/fts3/fts3_snippet.c#L561
