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
| Link | Resource |
|---|---|
| https://abraxaslabs.tech/research/sqlite-values-union | Exploit Third Party Advisory |
| https://github.com/sqlite/sqlite | Product |
| https://github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L7199 | Product |
| https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2 | Patch |
| https://sqlite.org/bugs/info/2026-10-04T05:34:47Z | Issue Tracking Vendor Advisory |
| https://sqlite.org/releaselog/3_54_0.html | Release Notes |
| https://sqlite.org/src/info/ab621a3e11ee4acc | Vendor Advisory |
| https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-countofviewoptimization-in-values-clause | Third Party Advisory |
| https://sqlite.org/bugs/info/2026-10-04T05:34:47Z | Issue Tracking Vendor Advisory |
Configurations
History
04 Nov 2026, 23:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://sqlite.org/bugs/info/2026-10-04T05:34:47Z - Issue Tracking, Vendor Advisory |
03 Nov 2026, 15:22
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://abraxaslabs.tech/research/sqlite-values-union - Exploit, Third Party Advisory | |
| References | () https://github.com/sqlite/sqlite - Product | |
| References | () https://github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L7199 - Product | |
| References | () https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2 - Patch | |
| References | () https://sqlite.org/bugs/info/2026-10-04T05:34:47Z - Issue Tracking, Vendor Advisory | |
| References | () https://sqlite.org/releaselog/3_54_0.html - Release Notes | |
| References | () https://sqlite.org/src/info/ab621a3e11ee4acc - Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-countofviewoptimization-in-values-clause - Third Party Advisory | |
| First Time |
Sqlite
Sqlite sqlite |
|
| CPE | cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* |
30 Oct 2026, 12:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-30 12:16
Updated : 2026-11-04 23:17
NVD link : CVE-2026-119591
Mitre link : CVE-2026-119591
CVE.ORG link : CVE-2026-119591
JSON object : View
Products Affected
sqlite
- sqlite
CWE
CWE-674
Uncontrolled Recursion
