CVE-2026-119591 SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-119591?
CVE-2026-119591 is a medium-severity vulnerability in SQLite, published on 30 Oct 2026.
Official 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.
Weakness: CWE-674
Which versions are affected by CVE-2026-119591?
It affects 1 product.
Products include SQLite.
How do I fix CVE-2026-119591?
Upgrade to a fixed version.
Is CVE-2026-119591 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-119591 exists.
Other vulnerabilities in SQLite
- CVE-2015-5895 Multiple unspecified vulnerabilities in SQLite before 3.8.10.2, as used in Apple iOS before 9, have unknown impact and attack vectors.
- CVE-2020-35527 In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- CVE-2019-8457 SQLite3 from 3.6.0 to and including 3.27.2 is vulnerable to heap out-of-bound read in the rtreenode() function when handling invalid rtree tables.
- CVE-2017-10989 The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles undersized RTree blob
- CVE-2026-119373 SQLite before 3.54.0 FTS5 Heap Buffer Overflow via fts5MergeRowidLists()
Sources
Also known as AZL-111793, DEBIAN-CVE-2026-119591, ECHO-c862-538d-750d, GHSA-24xm-6g3f-6mqq, UBUNTU-CVE-2026-119591.