{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119591","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-10-30T11:20:35.123Z","datePublished":"2026-10-30T11:31:15.714Z","dateUpdated":"2026-10-30T11:31:15.714Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-10-30T11:31:15.714Z"},"datePublic":"2026-10-04T00:00:00.000Z","title":"SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Uncontrolled Recursion","cweId":"CWE-674","type":"CWE"}]}],"affected":[{"vendor":"SQLite","product":"SQLite","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.54.0","status":"affected","versionType":"custom"}],"collectionURL":"https://sqlite.org/","packageURL":"pkg:github/sqlite/sqlite","repo":"https://github.com/sqlite/sqlite"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*","versionEndExcluding":"3.54.0"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"}}],"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"]},{"name":"VulnCheck Advisory: SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-countofviewoptimization-in-values-clause"}],"credits":[{"lang":"en","value":"Ke Han","type":"finder"},{"lang":"en","value":"Abraxas Labs","type":"reporter"},{"lang":"en","value":"D. Richard Hipp","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}