CVE-2026-119371: SQLite before 3.54.0 Stack Exhaustion via CTE Chain in selectExpander()
Affects sqliteSource GCVE Database
Not known to be exploited · CVSS 6.8 Medium : upgrade to 3.54.0 when convenient.
Data as of 17 Nov 2026, 16:19 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.5 |
| CNA | CVSS 4.0 | 6.8 |
- Patch
- Available – fixed in 3.54.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade sqlite to 3.54.0.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamisqlitepkg:bitnami/sqliteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and the vulnerability is fixed in SQLite version 3.54.0. Users and administrators should upgrade to version 3.54.0 or later to remediate this issue. No other mitigation actions are indicated.
Description
SQLite versions prior to 3.54.0 have a stack exhaustion vulnerability due to improper counting of common table expressions (CTEs) against the SQLITE_LIMIT_EXPR_DEPTH nesting limit. An attacker can exploit this by supplying a WITH clause chaining tens of thousands of CTEs, causing unbounded recursion in the selectExpander() function and crashing the process.
References
- abraxaslabs.tech/research/sqlite-cte-nest (opens in a new tab)
- github.com/sqlite/sqlite (opens in a new tab)
- github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c (opens in a new tab)
- github.com/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-119371 (opens in a new tab)
- sqlite.org/bugs/info/2026-10-04T04:58:58Z (opens in a new tab)
- sqlite.org/releaselog/3_54_0.html (opens in a new tab)
- sqlite.org/src/info/f54730871303e655 (opens in a new tab)
- vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-cte-chain-in-selectexpander (opens in a new tab)