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
Source GCVE Database
Not known to be exploited · CVSS 6.8 Medium : upgrade to 3.54.0 when convenient.
Data as of 30 Oct 2026, 13:35 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.5 |
- 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 30 Oct 2026.
What to do
Upgrade SQLite to 3.54.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SQLiteSQLite | Affected
| Fixed in
|
GitHubSQLitepkg:github/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.
Description
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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-119591 (opens in a new tab)
- github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2 (opens in a new tab)
- abraxaslabs.tech/research/sqlite-values-union (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)
- sqlite.org/bugs/info/2026-10-04T05:34:47Z (opens in a new tab)
- sqlite.org/releaselog/3_54_0.html (opens in a new tab)
- sqlite.org/src/info/ab621a3e11ee4acc (opens in a new tab)
- vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-countofviewoptimization-in-values-clause (opens in a new tab)