SQLite before 3.54.0 contains a stack exhaustion vulnerability in countOfViewOptimization() that allows attackers to crash the host process via count(*) over a large multi-row VALUES clause. Attackers supplying SQL or a database file with a crafted view can trigger deeply nested TK_PLUS expressions whose recursive freeing in sqlite3ExprDeleteNN() exhausts the C stack, causing denial of service.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-674"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119591.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.54.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "eff50a067c55f972909e7780e506e91382d08de2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-119591.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "186924352656775767317434705964633435953",
"length": 2316
},
"id": "CVE-2026-119591-585acb33",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2",
"target": {
"file": "src/select.c",
"function": "countOfViewOptimization"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"266939675986105998388404611350805051603",
"170094805343359518726377406015849213543",
"114563305866442681836193081992954712028",
"58139399123034490780218540128799199784"
],
"threshold": 0.9
},
"id": "CVE-2026-119591-ed95c991",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2",
"target": {
"file": "src/select.c"
}
}
]
"2026-11-06T07:06:07Z"