Skip to main content
← All vulnerabilities
CVE-2026-119371EUVD-2026-113782GHSA-V8VQ-8VGF-H9MG

SQLite before 3.54.0 Stack Exhaustion via CTE Chain in selectExpander()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.54.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

SQLite, a widely used embedded database library, is affected before version 3.54.0. An attacker can crash the application using it by supplying a query or a database file containing a long chain of common table expressions, which causes the process to run out of stack space.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • SQLite SQLite

    fixed in 3.54.0

References 8

sqlite.org

GitHub · sqlite/sqlite

abraxaslabs.tech

vulncheck.com