SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause (SQLite SQLite)
En bref
- Source
- NVD
- EPSS
- EPSS 0.42 % · centile 39 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- VulnCheck
- Produits affectés
- SQLite · SQLite
- Statut NVD
- Modified
Rechercher sur…
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.
Faiblesses (CWE)
- CWE-674 — Récursion non maîtrisée
Crédits
- Ke Han découverte
- Abraxas Labs signalement
- D. Richard Hipp développement du correctif
Références
- https://sqlite.org/bugs/info/2026-10-04T05:34:47Z
- https://sqlite.org/src/info/ab621a3e11ee4acc
- https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2
- https://github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L7199
- https://sqlite.org/releaselog/3_54_0.html
- https://abraxaslabs.tech/research/sqlite-values-union
- https://github.com/sqlite/sqlite
- https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-countofviewoptimization-in-values-clause
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 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 | VulnCheck |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | VulnCheck |
| CVSS 4.0 | MEDIUM 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 | NVD · disclosure@vulncheck.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD · disclosure@vulncheck.com (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-113835
- GCVE · GCVE-0-2026-119591
Avis du CERT-FR
- CERTFR-2026-AVI-1583 — Multiples vulnérabilités dans Tenable Security Center · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*< 3.54.0
Produits affectés
| Produit | Versions affectées |
|---|---|
| SQLite · SQLite | affectée : ≥ 0 < 3.54.0 Autres versions : non affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |