CVE-2026-119371
JSON

6.8medium

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

Severity
6.8medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.29% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
BIT-SQLITE-2026-119371

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.

Affected

Product or packageVersionsReported by
SQLite SQLitebefore 3.54.0CVE List, NVD
sqlite (Bitnami)before 3.54.0Bitnami Vulnerability Database

All scores

VulnCheck6.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasemedium rating

Classification

CWE-674

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-119371 changed 2026-10-30CVE Terms of Use
NVDCVE-2026-119371 changed 2026-11-03Public domain
Bitnami Vulnerability DatabaseBIT-SQLITE-2026-119371 changed 2026-11-17Apache-2.0