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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-416"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119372.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.54.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "a87bd2471a9c0606e78d3c3678bcd9cecaa0e731"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-119372.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"260004601154393584491811754007473553008",
"318798602998161069441191683874850896036",
"69775276202662078862825775308272012998",
"245739450314244283710856772720160157365",
"77218502242349058036109285574823597661",
"32992781316466562410540520389603704168",
"148214936665993712508979418344242802932",
"191838942507545037112862172649371195623",
"308837816088062659623262418475889105643",
"191855241240322666116124441611875036957"
],
"threshold": 0.9
},
"id": "CVE-2026-119372-63b34380",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/sqlite/sqlite/commit/a87bd2471a9c0606e78d3c3678bcd9cecaa0e731",
"target": {
"file": "ext/fts3/fts3_snippet.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "311102298981693808221399557432976916231",
"length": 1159
},
"id": "CVE-2026-119372-a10059bc",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/sqlite/sqlite/commit/a87bd2471a9c0606e78d3c3678bcd9cecaa0e731",
"target": {
"file": "ext/fts3/fts3_snippet.c",
"function": "fts3BestSnippet"
}
}
]
"2026-11-05T07:04:37Z"