CVE-2026-119591
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.
- Score
- 6.8 medium
- Published
- 2026-10-30
- Links
- NVD · cve.org · Report wrong data
Matched ports (6)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| databases/linux-c7-sqlite3 | linux-c7-sqlite | 3.7.17_2 | unaddressed | emulation@FreeBSD.org |
| databases/sqlite2 | sqlite | 2.8.17_5 | unaddressed | ports@FreeBSD.org |
| databases/sqlite3 | sqlite-icu | 3.53.4,1 | unaddressed | sunpoet@FreeBSD.org |
| databases/sqlite3 | sqlite-tcl | 3.53.4,1 | unaddressed | sunpoet@FreeBSD.org |
| databases/sqlite3 | sqlite3 | 3.53.4,1 | unaddressed | sunpoet@FreeBSD.org |
| databases/tcl-sqlite3 | tcl-sqlite3 | 3.50.4 | inherited | pavelivolkov@gmail.com |
Template for a VuXML entry
Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.
Not finished: this entry still needs a checked upper bound for every package. Do not commit it as it is.
Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>linux-c7-sqlite -- FIXME</topic>
<affects>
<package>
<name>linux-c7-sqlite</name>
<range><lt>3.54.0</lt></range>
</package>
<package>
<name>sqlite</name>
<!-- no fixed release for the 2 line in the CVE record (fixed in 3.54.0) -->
<range><lt>FIXME</lt></range>
</package>
<package>
<name>sqlite-icu</name>
<name>sqlite-tcl</name>
<name>sqlite3</name>
<range><lt>3.54.0,1</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>CVE-2026-119591: 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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-119591</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-119591</url>
</references>
<dates>
<discovery>2026-10-30</discovery>
<entry>2026-10-30</entry>
</dates>
</vuln>