CVEsSQLiteCVE-2026-119591Published Oct 30, 11:31 · Updated Oct 30, 11:31 UTC
5.5
MediumCVSS 3.1 · from VulnCheck
CVE-2026-119591

SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause

SQLite · CWE-674 · CWE-674
AffectedSQLite
FixUpdate to 3.54.0 or newer
PublishedOct 30, 11:31 · VulnCheck
ScoredOct 30 · 5.5 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:10 UTC

What we know

No known exploitation. CISA KEV, checked 22:10 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs local access to the machine. CVSS: local.
Someone has to open, click or run something first. CVSS: user interaction required.
A successful attack can take the service down. CVSS impact.

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.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed inSQLitebefore 3.54.03.54.0

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

sqlite.org/bugs/info/2026-10-04T05:34:47Z · sqlite.orgissue trackingsqlite.org/src/info/ab621a3e11ee4acc · sqlite.orgpatchgithub.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2 · github.compatchgithub.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L7199 · github.comtechnical descriptionsqlite.org/releaselog/3_54_0.html · sqlite.orgrelease notesabraxaslabs.tech/research/sqlite-values-union · abraxaslabs.techthird party advisorygithub.com/sqlite/sqlite · github.comproductVulnCheck Advisory: SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause · vulncheck.comthird party advisory

Other CVEs in SQLite

All 16 →
7.8SQLite CLI through 3.54.1 Command Injection via .recover Output · CVE-2026-119586Oct 307.8SQLite before 3.54.0 Heap Buffer Overflow via Session Extension sessionUpdateFind() · CVE-2026-119379Oct 305.5SQLite before 3.54.0 Use-After-Free in R-Tree nodeWrite() · CVE-2026-119378Oct 30