FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

sqlite3 -- multiple vulnerabilities

Affected packages
sqlite3 < 3.54.0,1

Details

VuXML ID 84cd82e1-d49f-11f1-bae2-3497f65b111b
Discovery 2026-10-30
Entry 2026-10-30

VulnCheck reports:

Ten vulnerabilities fixed in SQLite 3.54.0 were published on 2026-10-30. Four of them corrupt the heap: buffer overflows in the FTS5 functions fts5MergeRowidLists() and fts5DoSecureDelete() and in the session extension sessionUpdateFind(), and a use-after-free in the R-Tree function nodeWrite(). A fifth, a use-after-free in the FTS3 function fts3BestSnippet(), is reached through snippet().

The remaining five crash the process or leak data: unbounded recursion through a chain of common table expressions, through a chain of COLLATE operators and through countOfViewOptimization() in a VALUES clause, an information leak on a page size mismatch in the write-ahead log, and an authorizer bypass with RIGHT or FULL JOIN USING.

An attacker has to supply a database file or SQL text, so the FTS5 and FTS3 issues apply wherever those options are built in; both are on by default in databases/sqlite3.

References

CVE Name CVE-2026-119371
CVE Name CVE-2026-119372
CVE Name CVE-2026-119373
CVE Name CVE-2026-119374
CVE Name CVE-2026-119375
CVE Name CVE-2026-119376
CVE Name CVE-2026-119377
CVE Name CVE-2026-119378
CVE Name CVE-2026-119379
CVE Name CVE-2026-119591
URL https://www.sqlite.org/releaselog/3_54_0.html
URL https://www.vulncheck.com/advisories/sqlite-before-3.54.0-fts5-heap-buffer-overflow-via-fts5mergerowidlists