# CVE-2026-119591: SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 28% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-10-30T11:31:15.714Z
- Modified: 2026-11-17T13:30:13.589Z
- Also known as: BIT-SQLITE-2026-119591
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- SQLite SQLite: before 3.54.0
- sqlite (Bitnami): before 3.54.0

## Every score

- VulnCheck: CVSS:4.0 6.8 Medium `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 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://sqlite.org/bugs/info/2026-10-04T05:34:47Z> (exploit, advisory, issue-tracking, vendor-advisory)
- <https://abraxaslabs.tech/research/sqlite-values-union> (exploit, advisory, third-party-advisory)
- <https://sqlite.org/src/info/ab621a3e11ee4acc> (advisory, patch, vendor-advisory)
- <https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2> (fix, patch)
- <https://github.com/sqlite/sqlite/blob/version-3.53.4/src/select.c#L7199> (product, technical-description, web)
- <https://sqlite.org/releaselog/3_54_0.html> (article, release-notes)
- <https://github.com/sqlite/sqlite> (product, web)
- <https://www.vulncheck.com/advisories/sqlite-before-3.54.0-stack-exhaustion-via-countofviewoptimization-in-values-clause> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-119591> (web)

## Sources

- CVE List: [CVE-2026-119591](https://www.cve.org/CVERecord?id=CVE-2026-119591), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-119591](https://nvd.nist.gov/vuln/detail/CVE-2026-119591), Public domain, modified 2026-11-04
- Bitnami Vulnerability Database: [BIT-SQLITE-2026-119591](https://osv.dev/vulnerability/BIT-SQLITE-2026-119591), Apache-2.0, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-119591 · Whole record: https://cve.day/CVE-2026-119591.json · Rebuilt by cve.day 2026-11-25T22:59:47.924Z
