{"id":"CVE-2026-119591","aliases":["CVE-2026-119591","BIT-SQLITE-2026-119591"],"related":[],"kind":"vulnerability","state":"published","title":"SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-30T11:31:15.714Z","modified":"2026-11-17T13:30:13.589Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"3.54.0","status":"affected"}],"vendor":"SQLite","product":"SQLite","repo":"https://github.com/sqlite/sqlite","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.54.0"}],"vendor":"sqlite","product":"sqlite","cpe":"cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.54.0"}],"ecosystem":"Bitnami","package":"sqlite","purl":"pkg:bitnami/sqlite","source":"bitnami"}],"references":[{"url":"https://sqlite.org/bugs/info/2026-10-04T05:34:47Z","tags":["advisory","exploit","issue-tracking","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://sqlite.org/src/info/ab621a3e11ee4acc","tags":["advisory","patch","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2","tags":["fix","patch"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L7199","tags":["product","technical-description","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://sqlite.org/releaselog/3_54_0.html","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://abraxaslabs.tech/research/sqlite-values-union","tags":["advisory","exploit","third-party-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/sqlite/sqlite","tags":["product","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-countofviewoptimization-in-values-clause","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119591","tags":["web"],"sources":["bitnami"]}],"credits":["Ke Han","Abraxas Labs","D. Richard Hipp"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-04T22:23:12.354Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-119591","url":"https://www.cve.org/CVERecord?id=CVE-2026-119591","licence":"CVE Terms of Use","modified":"2026-11-04T22:23:31.927Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-119591","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119591","licence":"Public domain","modified":"2026-11-04T23:17:20.720Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-SQLITE-2026-119591","url":"https://osv.dev/vulnerability/BIT-SQLITE-2026-119591","licence":"Apache-2.0","modified":"2026-11-17T13:30:13.589Z"}],"updatedAt":"2026-11-25T22:59:47.924Z","epss":{"score":0.00423,"percentile":0.28284,"date":"2026-11-30T12:00:22.000Z"}}