SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause (SQLite SQLite)

CVE-2026-119591
MEDIUM 6.8

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

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

Scores

VersionScoreVecteurÉvalué par
CVSS 4.0MEDIUM 6.8CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HVulnCheck
CVSS 4.0MEDIUM 6.8CVSS: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:XNVD · disclosure@vulncheck.com (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HNVD · disclosure@vulncheck.com (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions affectées
SQLite · SQLite
affectée : ≥ 0 < 3.54.0
Autres versions : non affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD