#1152790 sqlite3: CVE-2026-119371 CVE-2026-119372 CVE-2026-119373 CVE-2026-119374 CVE-2026-119375 CVE-2026-119376 CVE-2026-119377 CVE-2026-119378 CVE-2026-119379 CVE-2026-119586 CVE-2026-119591 #1152790
- Package:
- src:sqlite3
- Source:
- src:sqlite3
- Submitter:
- Salvatore Bonaccorso
- Date:
- 2026-11-02 22:09:03 UTC
- Severity:
- normal
- Tags:
Hi, The following vulnerabilities were published for sqlite3. All should be fixed in the 3.54.0 upstream version, but please double-check! CVE-2026-119371[0]: | SQLite before 3.54.0 contains a stack exhaustion vulnerability that | allows attackers to bypass the SQLITE_LIMIT_EXPR_DEPTH nesting limit | because common table expressions are not counted against it. | Attackers can supply a WITH clause chaining tens of thousands of | CTEs, via plain SQL or a view in an untrusted database file, causing | unbounded selectExpander() recursion that crashes the process. CVE-2026-119372[1]: | SQLite before 3.54.0 built with FTS3/FTS4 and | SQLITE_ENABLE_FTS3_PARENTHESIS contains a use-after-free | vulnerability in fts3BestSnippet() caused by dangling cached | position-list pointers. Attackers can run a full-text MATCH query | combining OR and NEAR operators with snippet() to read freed heap | memory and crash the process. CVE-2026-119373[2]: | SQLite before 3.54.0 built with FTS5 contains a heap buffer overflow | in fts5MergeRowidLists() that undersizes the output buffer when | merging detail=none prefix doclists. Attackers who can populate a | detail=none FTS5 table with negative rowids and run a prefix MATCH | query can write past the allocation, corrupting heap memory and | crashing the process. CVE-2026-119374[3]: | SQLite before 3.54.0 built with FTS5 contains a heap buffer overflow | in fts5DoSecureDelete() that allows attackers to write past the leaf | page buffer via crafted footer key offsets. Attackers can supply a | database file with a corrupted FTS5 index that, when deleted from | with secure-delete enabled, corrupts heap memory and crashes the | application. CVE-2026-119375[4]: | SQLite before 3.54.0 contains an information disclosure | vulnerability that allows attackers to read uninitialized page-cache | memory by supplying a WAL file with an undersized page size. | Attackers can craft a database and WAL file whose oversized record | payload makes queries like substr() return stale bytes, disclosing | other table rows and internal pointers. CVE-2026-119376[5]: | SQLite before 3.54.0 contains a stack exhaustion vulnerability that | allows attackers to bypass the SQLITE_LIMIT_EXPR_DEPTH limit by | chaining COLLATE postfix operators. Attackers can supply roughly | 175,000 chained COLLATE operators in SQL or an untrusted database | view to trigger unbounded recursion in sqlite3WalkExprNN() and crash | the process. CVE-2026-119377[6]: | SQLite before 3.54.0 contains an authorization bypass vulnerability | in lookupName() that invokes the authorizer only for the first | joined table's USING column. Attackers able to submit SQL can query | a shared USING column in a RIGHT or FULL JOIN to read columns denied | via sqlite3_set_authorizer() SQLITE_READ restrictions. CVE-2026-119378[7]: | SQLite before 3.54.0 contains a use-after-free vulnerability in the | R-Tree extension that allows attackers to make applications use | freed heap memory by manipulating the %_node shadow table. Attackers | can supply a database declaring %_node WITHOUT ROWID or with a | RAISE(IGNORE) trigger so nodeWrite() hashes nodes as 0, crashing the | process after node splits. CVE-2026-119379[8]: | SQLite before 3.54.0 built with the session extension contains a | heap buffer overflow vulnerability in sqlite3changeset_apply() that | allows attackers to corrupt heap memory by supplying crafted | changesets. Attackers can repeat a table name in a second changeset | block with a larger column count, causing sessionUpdateFind() to | memset past the undersized aUpdateMask allocation. CVE-2026-119586[9]: | SQLite command-line shell through 3.54.1 contains a command | injection vulnerability in the .recover command that emits attacker- | planted dot-commands stored in sqlite_schema.sql values verbatim. | Attackers can craft a database whose schema holds a valid CREATE | statement followed by a .shell or .system line, executing OS | commands when victims pipe .recover output into sqlite3. CVE-2026-119591[10]: | 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. If you fix the vulnerabilities please also make sure to include the CVE (Common Vulnerabilities & Exposures) ids in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-119371 https://www.cve.org/CVERecord?id=CVE-2026-119371 [1] https://security-tracker.debian.org/tracker/CVE-2026-119372 https://www.cve.org/CVERecord?id=CVE-2026-119372 [2] https://security-tracker.debian.org/tracker/CVE-2026-119373 https://www.cve.org/CVERecord?id=CVE-2026-119373 [3] https://security-tracker.debian.org/tracker/CVE-2026-119374 https://www.cve.org/CVERecord?id=CVE-2026-119374 [4] https://security-tracker.debian.org/tracker/CVE-2026-119375 https://www.cve.org/CVERecord?id=CVE-2026-119375 [5] https://security-tracker.debian.org/tracker/CVE-2026-119376 https://www.cve.org/CVERecord?id=CVE-2026-119376 [6] https://security-tracker.debian.org/tracker/CVE-2026-119377 https://www.cve.org/CVERecord?id=CVE-2026-119377 [7] https://security-tracker.debian.org/tracker/CVE-2026-119378 https://www.cve.org/CVERecord?id=CVE-2026-119378 [8] https://security-tracker.debian.org/tracker/CVE-2026-119379 https://www.cve.org/CVERecord?id=CVE-2026-119379 [9] https://security-tracker.debian.org/tracker/CVE-2026-119586 https://www.cve.org/CVERecord?id=CVE-2026-119586 [10] https://security-tracker.debian.org/tracker/CVE-2026-119591 https://www.cve.org/CVERecord?id=CVE-2026-119591 Regards, Salvatore
I think it's version 3.45.1 which fixes these issues. At least its changelog [1] states fix a possible heap buffer overflow at least. But I'll try to find the correct fixed versions. Regards, Laszlo/GCS [1] https://www.sqlite.org/releaselog/3_54_1.html
Hi, It is probably in any case best to go up to the 3.54.1 version then. At least the currently tracked CVEs are in at latest version-3.54.0 tagged verison from the (offcial) github mirror for sqlite3 main repository. Not yet sure how to classify those for trixie, but that is another story. Regards, Salvatore
Hi László, I was wrong though, there is one which is likely not fixed yet and we should split it ip from this bugreport, CVE-2026-119586 does not seem to be addressed yet in neither 3.54.1. Regards, Salvatore
That is correct, the 3.54.1 version is still vulnerable to CVE-2026-119586. I just uploaded the mentioned version fixing the other vulnerabilities. I will ping you when I know more and please do the same if you get more information. Regards, Laszlo/GCS
We believe that the bug you reported is fixed in the latest version of
sqlite3, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1152790@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <gcs@debian.org> (supplier of updated sqlite3 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 31 Oct 2026 16:28:17 +0100
Source: sqlite3
Architecture: source
Version: 3.54.1-1
Distribution: unstable
Urgency: high
Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Changed-By: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Closes: 1128611 1142081 1152790
Changes:
sqlite3 (3.54.1-1) unstable; urgency=high
.
[ Laszlo Boszormenyi (GCS) ]
* New upstream release:
- fixes CVE-2026-119371: stack exhaustion vulnerability
(closes: #1152790),
- fixes CVE-2026-119372: use after free vulnerability in FTS3/FTS4
snippet(),
- fixes CVE-2026-119373: heap buffer overflow in fts5MergeRowidLists()
when built with FTS5,
- fixes CVE-2026-119374: FTS5 secure-delete code could lead to a
buffer overrun,
- fixes CVE-2026-119375: uninitialized page-buffer disclosure via
WAL/DB page-size mismatch,
- fixes CVE-2026-119376: a stack exhaustion vulnerability,
- fixes CVE-2026-119377: authorization bypass vulnerability in the
lookupName() function,
- fixes CVE-2026-119378: avoid a use after free problem in rtree module,
- fixes CVE-2026-119379: heap out of bounds write in the
sqlite3changeset_apply() function,
- fixes CVE-2026-119591: a stack exhaustion vulnerability in the
countOfViewOptimization() function.
* Add sqlite3_rsync to sqlite3-tools package (closes: #1142081).
* Remove sqlite3IsBinary@Base, sqlite3ResultStrAccum@Base,
sqlite3VdbeAddOp4Dup8@Base and sqlite3VdbeSetVarmask@Base symbols as
no longer part of the library.
* Update symbols file.
.
[ Sergei Golovan <sgolovan@debian.org> ]
* Add Tcl 9.1 compatibility (closes: #1128611).
.
[ Gregor Ebbing <gregor.ebbing@gmx.de> ]
* Additional libsqlite3-tcl packaging fixes.
Checksums-Sha1:
adad8188a1de9f6403ff70b3e41ea62465d3ae22 2648 sqlite3_3.54.1-1.dsc
8bc602b0433a4cc92fe095627afe1c89e1335cb5 6403124 sqlite3_3.54.1.orig-www.tar.xz
c49acf244fe87e12aa11698a792dd6090c1b4eb9 8871620 sqlite3_3.54.1.orig.tar.xz
a8d6dc71abece0bd8f04fc52c793728ef7340a4d 32312 sqlite3_3.54.1-1.debian.tar.xz
Checksums-Sha256:
d3b2efbeb509dfac38a0653112a400d48eaa86f14432c255a6fea8569df407f1 2648 sqlite3_3.54.1-1.dsc
67906ee141109bebe43cdcf197892806397dabc79f5cd7f05f1278f47b0c5e25 6403124 sqlite3_3.54.1.orig-www.tar.xz
faeff7682200b3dd58c8f0f229892a7271c73c1fdabc86e7315eb31eb7cb6e83 8871620 sqlite3_3.54.1.orig.tar.xz
3f05602b0f4e1441b88f92e9afb2980e148659842565b1f1e27012988433a1d9 32312 sqlite3_3.54.1-1.debian.tar.xz
Files:
1b874da056dc10031f4006168f2c0f10 2648 devel optional sqlite3_3.54.1-1.dsc
52cadbc2166ce2bf431f652e643b8c08 6403124 devel optional sqlite3_3.54.1.orig-www.tar.xz
35236c897e322b0a6889e5ba06104a84 8871620 devel optional sqlite3_3.54.1.orig.tar.xz
939dce46bc0d7c5e1a953312bdcebb06 32312 devel optional sqlite3_3.54.1-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAmrpA+8ACgkQ3OMQ54ZM
yL8U3g//RBdnbxg+dqa1tnql+G6b3+Ci1ltEog8TsnVWtOYXwshMHtBJU5lGDmgb
YHYzTUX4MTT3yX+byxdOrUhd2kCNhnriZsBcY6X8vNfKI+SLoGxdoBLFBffVNu8y
5UhvgEN8fS8KbcANkWJGNCu7N5NXEKD8XZgHRv/u+rRLgDJmDB52dFP2bd1OCYwG
/UmJgGYZiel8DSZN1zBpRcAmUJZCwx5swdTs2qZut+IeNbGqkZ8P2+AIDS+7PvAO
Cxul911v1ixXqX0MroQbQAL8/OnER3aIZ46j7yDuaWoobcBnQaEA6jqxv6YPuczs
f1Vmmlxo9/b2YisPlI36WvQ+RSsR0P+YK2auKSp+RFRSwt/TvJTZEo6K6FkGcaps
I95ZaP5lkG7kO+dCU84M18+eTZAz6mKfoLlsHnSgqOOlydkgZpTGUWhr9MDjSKeS
VsiX2DuqPPb90E263UrQnroTyThdM0kMJDVfYBLSXTPjTc7tW0Gm1lw37YjwZyr8
kNj8xuFaTECDg4gCoGoH9/U/b2y9qEXuMmJTlEbydofRSPx9p3qBbopEQVOReIbe
tHdWkCLnfZvK8dCK9L212wHwCAKf4wVRRd1rkFDC1zHv8EHtPVDXSZhBjlt4G9C8
EEZ+R/vWUMy06rsbF9i17l2573pfN7YGc6Uk96tuLyipNcezz1w=
=X92q
-----END PGP SIGNATURE-----