CVE-2026-119371Sqlite uncontrolled recursion
CVSS score
6.8
Medium
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.19%
0.19% chance of exploitation in the next 30 days, higher than 8.46% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running Sqlite and compare its version with the affected versions.
Update to a fixed version
- Update Sqlite to 3.54.0 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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
| Affected products | Versions |
|---|---|
| SQLite Sqlite | < 3.54.0 |
Weakness
- CWE-674 uncontrolled recursion
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-119371 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-119371?
CVE-2026-119371 has a CVSS 4.0 base score of 6.8 (medium).
Which versions are affected?
SQLite Sqlite (< 3.54.0)
Is there a patch for CVE-2026-119371?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L5754(Patch)
- github.com/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb(Patch)
- sqlite.org/bugs/info/2026-10-04T04:58:58Z(Issue Tracking, Patch, Vendor Advisory)
- sqlite.org/src/info/f54730871303e655(Patch, Vendor Advisory)
- abraxaslabs.tech/research/sqlite-cte-nest(Exploit, Third Party Advisory)
- github.com/sqlite/sqlite(Product)
- sqlite.org/releaselog/3_54_0.html(Release Notes)
- www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-cte-chain-in-selectexpander(Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.