CVE and update status of the FreeBSD ports tree3,588 unaddressed CVEs in 726 portsAll times are CET
CVE details

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)

PortPackageVersionStatusMaintainer
databases/linux-c7-sqlite3linux-c7-sqlite3.7.17_2unaddressedemulation@FreeBSD.org
databases/sqlite2sqlite2.8.17_5unaddressedports@FreeBSD.org
databases/sqlite3sqlite-icu3.53.4,1unaddressedsunpoet@FreeBSD.org
databases/sqlite3sqlite-tcl3.53.4,1unaddressedsunpoet@FreeBSD.org
databases/sqlite3sqlite33.53.4,1unaddressedsunpoet@FreeBSD.org
databases/tcl-sqlite3tcl-sqlite33.50.4inheritedpavelivolkov@gmail.com

Template for a VuXML entry

Check the content

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>