SQLite before 3.54.0 Stack Exhaustion via CTE Chain in selectExpander()
Impact
SQLite before 3.54.0 has a stack exhaustion vulnerability via CTE chain in selectExpander(), allowing attackers to bypass the SQLITE_LIMIT_EXPR_DEPTH limit with a WITH clause chaining many CTEs. This causes unbounded recursion, crashing the process. Attackers need access to supply a malicious SQL query or untrusted database file.
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 contains a stack exhaustion vulnerability that allows attackers to bypass the SQLITE_LIMIT_EXPR_DEPTH nesting limit because common table expressions are not counted against it. Attackers can supply a WITH clause chaining tens of thousands of CTEs, via plain SQL or a view in an untrusted database file, causing unbounded selectExpander() recursion that crashes the process.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-119371View 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 · 2
Assigning organization
Additional data publisher
What changed
Follow changes- CVE · CVE-2026-119371
Observed 2026-10-30T17:20:08.669Z · upstream updated 2026-10-30T15:51:05.359Z
Prioritization updated
before
[]
after
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-10-30T15:50:50.830999Z", "decisions": [ { "name": "Exploitation", "value": "none" }, { "name": "Automatable", "value": "no" }, { "name": "Technical Impact", "value": "partial" } ] } ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.