SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SQLiteSQLite |
< 3.54.0→ 3.54.0 |
3.54.0 |
| Bitnamisqlite |
< 3.54.0→ 3.54.0 |
3.54.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-119591 sqlite3 Fix available
- Ubuntu UBUNTU-CVE-2026-119591 sqlite3 Fix available
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory sqlite.org
- advisory abraxaslabs.tech
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch sqlite.org
- patch github.com
- REDHAT Red Hat
- report sqlite.org
- web github.com
- web github.com
- web sqlite.org