SQLite before 3.54.0 Use-After-Free in FTS3 fts3BestSnippet() via snippet()
Impact
SQLite before 3.54.0 has a use-after-free vulnerability in fts3BestSnippet() via snippet(), allowing attackers to read freed memory and crash the process. The vulnerability requires FTS3/FTS4 and SQLITE_ENABLE_FTS3_PARENTHESIS to be enabled. Attackers need to run a full-text MATCH query with OR and NEAR operators and snippet().
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
SQLite · VulnCheck
SQLite
1 range
SQLite · VulnCheck
SQLite
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → before 3.54.0
custom versions
Other versions: unaffected
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-119372View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
VulnCheck · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*Before: 3.54.0
Original applicability statements
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*",
"versionEndExcluding": "3.54.0"
}
]
}
]
}
]Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.