CVE-2026-119372 SQLite before 3.54.0 Use-After-Free in FTS3 fts3BestSnippet() via snippet()
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-119372?
CVE-2026-119372 is a medium-severity vulnerability in SQLite, published on 30 Oct 2026.
Official 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.
Weakness: CWE-416
Which versions are affected by CVE-2026-119372?
It affects 1 product.
Products include SQLite.
How do I fix CVE-2026-119372?
Upgrade to a fixed version.
Is CVE-2026-119372 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-119372 exists.
Other vulnerabilities in SQLite
- CVE-2015-5895 Multiple unspecified vulnerabilities in SQLite before 3.8.10.2, as used in Apple iOS before 9, have unknown impact and attack vectors.
- CVE-2020-35527 In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- CVE-2019-8457 SQLite3 from 3.6.0 to and including 3.27.2 is vulnerable to heap out-of-bound read in the rtreenode() function when handling invalid rtree tables.
- CVE-2017-10989 The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles undersized RTree blob
- CVE-2026-119373 SQLite before 3.54.0 FTS5 Heap Buffer Overflow via fts5MergeRowidLists()
Sources
Also known as AZL-111766, DEBIAN-CVE-2026-119372, ECHO-b23b-787a-d3f8, GHSA-p82x-8j2g-f2c7, UBUNTU-CVE-2026-119372.