CVE-2026-119371 json
SQLite before 3.54.0 Stack Exhaustion via CTE Chain in selectExpander()
published 2026-10-30 10 d ago modified 2026-11-03 6 d ago also EUVD-2026-113782
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- SQLite SQLite 3.54.0
- sqlite3 openSUSE Tumbleweed 3.54.1-2.1
opensuse advisories openSUSE-SU-2026:12493-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-119371 updated cvss 5.5
sqlite: sqlite: Denial of Service via stack exhaustion from deeply nested Common Table Expressions
-
Red Hat Enterprise Linux 6 lemon, sqlite, sqlite-tcl, sqlite 3.46.1-6.el10_2affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 lemon, sqlite, sqlite-tcl, sqlite 3.46.1-6.el10_2 Red Hat Enterprise Linux 8 npm, rls, rust, cargo, lemon, clippy, +22 more Red Hat Enterprise Linux 9 npm, rust, cargo, clippy, nodejs, sqlite, +15 moreaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux 10 sqlite 3.46.1-6.el10_2affected: no fix available
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rustaffected: no fix available “Fix deferred”
-
Red Hat Hardened Images sqlite 3.46.1-6.el10_2affected: no fix available
-
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 10 d ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- abraxaslabs.tech https://abraxaslabs.tech/research/sqlite-cte-nest referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CNA | 4.0 | 6.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- SQLite SQLite
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
sqlite.org
/src/info/f54730871303e655
patch, vendor-advisory
-
github.com
/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb
patch
-
sqlite.org
/bugs/info/2026-10-04T04:58:58Z
issue-tracking, patch, vendor-advisory
-
github.com
/sqlite/sqlite/blob/version-3.53.4/src/select.c#L5754
technical-description, patch
-
abraxaslabs.tech
/research/sqlite-cte-nest
third-party-advisory, exploit
-
sqlite.org
/releaselog/3_54_0.html
release-notes
-
github.com
/sqlite/sqlite
product
-
vulncheck.com
/advisories/sqlite-before-3.54.0-stack-exhaustion-via-cte-chain-in-selectexpander
third-party-advisory
Sources
- CVE List CVE-2026-119371
- NVD CVE-2026-119371
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.