Vulnerability in Sqlite
CVE-2026-119591
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- sqlite.org/bugs/info/2026-10-04T05:34:47Z (issue-tracking)
- sqlite.org/src/info/ab621a3e11ee4acc (patch)
- github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2 (patch)
- github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c (technical-description)
- sqlite.org/releaselog/3_54_0.html (release-notes)
- abraxaslabs.tech/research/sqlite-values-union (third-party-advisory)
- github.com/sqlite/sqlite (product)
- www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-countofv… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-119591?
- CVE-2026-119591 is a medium-severity vulnerability in Sqlite, classified under Uncontrolled Recursion. CVSS score: 5.5/10. Published 2026-10-30.
- How severe is CVE-2026-119591?
- Medium severity. CVSS v3 base score is 5.5 out of 10.