Skip to content
Medium 6.8

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

CVE-2026-119371 First seen on SecPulse

Affected packages

PackageAffected → Fixed
SQLiteSQLite
< 3.54.0→ 3.54.0
Bitnamisqlite
< 3.54.0→ 3.54.0

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details