CVE-2026-119371 SQLite before 3.54.0 Stack Exhaustion via CTE Chain in selectExpander()

Medium 6.8 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-119371?

CVE-2026-119371 is a medium-severity vulnerability in SQLite, published on 30 Oct 2026.

Official 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.

Weakness: CWE-674

Which versions are affected by CVE-2026-119371?

It affects 1 product.

Products include SQLite.

How do I fix CVE-2026-119371?

Upgrade to a fixed version.

Is CVE-2026-119371 being exploited?

There is no known exploitation of CVE-2026-119371 in the wild and no public exploit code.

All SQLite vulnerabilities

Sources

Also known as AZL-111763, DEBIAN-CVE-2026-119371, ECHO-b6bb-c49f-2064, GHSA-v8vq-8vgf-h9mg, UBUNTU-CVE-2026-119371.

Is CVE-2026-119371 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free