{"id":"CVE-2026-119371","aliases":[],"cve":{"records":[{"id":"CVE-2026-119371","source":"VulnCheck","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-30T00:39:31.960Z","published":"2026-10-30T11:30:37.740Z","modified":"2026-10-30T15:51:05.359Z"}],"publishers":[{"name":"VulnCheck","role":"CNA","organizationId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","modified":"2026-10-30T11:30:37.740Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-30T15:51:05.359Z"}],"references":[{"url":"https://sqlite.org/bugs/info/2026-10-04T04:58:58Z","tags":["issue-tracking"],"source":"VulnCheck"},{"url":"https://sqlite.org/src/info/f54730871303e655","tags":["patch"],"source":"VulnCheck"},{"url":"https://github.com/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb","tags":["patch"],"source":"VulnCheck"},{"url":"https://github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L5754","tags":["technical-description"],"source":"VulnCheck"},{"url":"https://sqlite.org/releaselog/3_54_0.html","tags":["release-notes"],"source":"VulnCheck"},{"url":"https://abraxaslabs.tech/research/sqlite-cte-nest","tags":["third-party-advisory"],"source":"VulnCheck"},{"url":"https://github.com/sqlite/sqlite","tags":["product"],"source":"VulnCheck"},{"url":"https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-cte-chain-in-selectexpander","tags":["third-party-advisory"],"source":"VulnCheck"}],"weaknesses":[{"id":"CWE-674","description":"Uncontrolled Recursion","source":"VulnCheck"}],"applicability":[{"source":"VulnCheck","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*","versionEndExcluding":"3.54.0"}]}]}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-30T15:50:50.830999Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"SQLite before 3.54.0 Stack Exhaustion via CTE Chain in selectExpander()","titleSource":"VulnCheck","descriptionSource":"VulnCheck","description":"SQLite before 3.54.0 contains a stack exhaustion vulnerability that allows attackers to bypass the SQLITE_LIMIT_EXPR_DEPTH nesting limit because common table expressions are not counted against it. Attackers can supply a WITH clause chaining tens of thousands of CTEs, via plain SQL or a view in an untrusted database file, causing unbounded selectExpander() recursion that crashes the process.","score":6.8,"severity":"medium","published":"2026-10-30T11:30:37.740Z","modified":"2026-10-30T15:51:05.359Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"SQLite","name":"SQLite","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"3.54.0","versionType":"custom"}],"defaultStatus":"unaffected","cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2026-119371"}],"remediation":[],"references":["https://sqlite.org/bugs/info/2026-10-04T04:58:58Z","https://sqlite.org/src/info/f54730871303e655","https://github.com/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb","https://github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L5754","https://sqlite.org/releaselog/3_54_0.html","https://abraxaslabs.tech/research/sqlite-cte-nest","https://github.com/sqlite/sqlite","https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-cte-chain-in-selectexpander"],"sources":[{"name":"CVE","id":"CVE-2026-119371","modified":"2026-10-30T15:51:05.359Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-119371"}],"assessments":[{"source":"VulnCheck","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},{"source":"VulnCheck","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5}],"sourceAffected":[],"observedAt":"2026-10-30T17:20:08.669Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T10:20:31.211Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"SQLite before 3.54.0 has a stack exhaustion vulnerability via CTE chain in selectExpander(), allowing attackers to bypass the SQLITE_LIMIT_EXPR_DEPTH limit with a WITH clause chaining many CTEs. This causes unbounded recursion, crashing the process. Attackers need access to supply a malicious SQL query or untrusted database file.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T11:36:12.114Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-119371"}]}}