{"id":"CVE-2026-119591","published":"2026-10-30T11:31:15Z","modified":"2026-11-04T22:23:31Z","title":"SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause","vendor":"SQLite","product":"SQLite","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0028,"percentile":0.2081,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://sqlite.org/bugs/info/2026-10-04T05:34:47Z","tags":["issue-tracking"]},{"url":"https://sqlite.org/src/info/ab621a3e11ee4acc","tags":["patch"]},{"url":"https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2","tags":["patch"]},{"url":"https://github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L7199","tags":["technical-description"]},{"url":"https://sqlite.org/releaselog/3_54_0.html","tags":["release-notes"]},{"url":"https://abraxaslabs.tech/research/sqlite-values-union","tags":["third-party-advisory"]},{"url":"https://github.com/sqlite/sqlite","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-countofviewoptimization-in-values-clause","tags":["third-party-advisory"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":4.16},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"sqlite","affectedVersions":[{"vendor":"SQLite","product":"SQLite","versions":["< 3.54.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-04T22:23:12.354827Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-113835","exploited":false,"provenance":"source"}}