Back
CVE-2026-119591
SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause
Medium6.8EPSS 0.17%
- Published
- Updated
- Reserved
- Assigned by
- VulnCheck
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulnCheckCNA (assigner) | 4.0 | Medium6.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheckCNA (assigner) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 4.0 | Medium6.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.17% · top 93% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
References (8)
- https://sqlite.org/bugs/info/2026-10-04T05:34:47Z (opens in a new tab)issue-trackingexploit
- https://sqlite.org/src/info/ab621a3e11ee4acc (opens in a new tab)patch
- https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2 (opens in a new tab)patch
- https://github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L7199 (opens in a new tab)technical-description
- https://sqlite.org/releaselog/3_54_0.html (opens in a new tab)release-notes
- https://abraxaslabs.tech/research/sqlite-values-union (opens in a new tab)third-party-advisory
- https://github.com/sqlite/sqlite (opens in a new tab)product
- VulnCheck Advisory: SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause (opens in a new tab)third-party-advisory
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-119591)Record last updated .