CVE-2026-119591 json
SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause
published 2026-10-30 10 d ago modified 2026-11-04 4 d ago also EUVD-2026-113835
- 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 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- SQLite SQLite 3.54.0
- github.com/sqlite/sqlite@eff50a0 commit
- sqlite.org/src/info/ab621a3e11ee4acc advisory
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-119591 updated cvss 5.5
sqlite: sqlite: Denial of Service via stack exhaustion in countOfViewOptimization()
-
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 rust 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 OpenShift AI (RHOAI) rhoai/odh-core-bff-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-automl-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, rhoai/odh-mod-arch-mlflow-rhel9, +6 moreunder investigation
-
Red Hat Hardened Images lemon 3.54.1-1.hum1, sqlite 3.54.1-1.hum1, sqlite-tcl 3.54.1-1.hum1, sqlite-libs 3.54.1-1.hum1, sqlite-tools 3.54.1-1.hum1, sqlite-analyzer 3.54.1-1.hum1fixed: vendor fix RHSA-2026:86202
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-kube-rbac-proxy-rhel9, rhoai/odh-maas-controller-rhel9, rhoai/odh-mlflow-operator-rhel9, rhoai/odh-model-controller-rhel9, rhoai/odh-ogx-k8s-operator-rhel9, +14 morenot affected: vulnerable code not present
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
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 d ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sqlite.org https://sqlite.org/bugs/info/2026-10-04T05:34:47Z referenced PoC, tagged "exploit" by a source, unverified
- abraxaslabs.tech https://abraxaslabs.tech/research/sqlite-values-union 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/ab621a3e11ee4acc
patch, vendor-advisory
-
github.com
/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2
patch
-
sqlite.org
/bugs/info/2026-10-04T05:34:47Z
issue-tracking, exploit, vendor-advisory
-
abraxaslabs.tech
/research/sqlite-values-union
third-party-advisory, exploit
-
github.com
/sqlite/sqlite/blob/version-3.53.4/src/select.c#L7199
technical-description, product
-
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-countofviewoptimization-in-values-clause
third-party-advisory
Sources
- CVE List CVE-2026-119591
- NVD CVE-2026-119591
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.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.