CVE-2026-119591 SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause

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

What is CVE-2026-119591?

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

Official description

SQLite before 3.54.0 contains a stack exhaustion vulnerability in countOfViewOptimization() that allows attackers to crash the host process via count(*) over a large multi-row VALUES clause. Attackers supplying SQL or a database file with a crafted view can trigger deeply nested TK_PLUS expressions whose recursive freeing in sqlite3ExprDeleteNN() exhausts the C stack, causing denial of service.

Weakness: CWE-674

Which versions are affected by CVE-2026-119591?

It affects 1 product.

Products include SQLite.

How do I fix CVE-2026-119591?

Upgrade to a fixed version.

Is CVE-2026-119591 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-119591 exists.

All SQLite vulnerabilities

Sources

Also known as AZL-111793, DEBIAN-CVE-2026-119591, ECHO-c862-538d-750d, GHSA-24xm-6g3f-6mqq, UBUNTU-CVE-2026-119591.

Is CVE-2026-119591 in your software?

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

Check your SBOMs for free