CVE-2026-119371

published 30 Oct 2026 · updated 3 Nov 2026

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

6.5MediumCVSS 5.5EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.54.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
SQLitesqlite<3.54.03.54.0
SQLite<3.54.03.54.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-119371 severity on Zeptric[![CVE-2026-119371](https://zeptric.io/badge/cve/CVE-2026-119371.svg)](https://zeptric.io/cve/CVE-2026-119371)