Sqlite vulnerabilities

78 vulnerabilities

Known vulnerabilities in Sqlite products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 4 products.

Products

4
RoutineCVE-2026-119591sqlite +3 moreSQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES ClauseSQLite 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.CVSS6.8MediumEPSS0.42%PrioritiseCVE-2026-119586sqlite +21 moreSQLite CLI through 3.54.1 Command Injection via .recover OutputSQLite 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.CVSS8.5HighEPSS1.58%PrioritiseCVE-2026-119379sqlite +3 moreSQLite before 3.54.0 Heap Buffer Overflow via Session Extension sessionUpdateFind()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.CVSS8.5HighEPSS0.27%RoutineCVE-2026-119378sqlite +3 moreSQLite before 3.54.0 Use-After-Free in R-Tree nodeWrite()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.CVSS6.8MediumEPSS0.32%RoutineCVE-2026-119377sqlite +3 moreSQLite before 3.54.0 Authorizer Bypass via RIGHT or FULL JOIN USINGSQLite 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.CVSS3.3LowEPSS0.16%RoutineCVE-2026-119376sqlite +3 moreSQLite before 3.54.0 Stack Exhaustion via COLLATE Operator ChainSQLite 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.CVSS6.8MediumEPSS0.34%RoutineCVE-2026-119375sqlite +5 moreSQLite before 3.54.0 Information Disclosure via WAL Page Size MismatchSQLite 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.CVSS6.8MediumEPSS0.35%PrioritiseCVE-2026-119374sqlite +3 moreSQLite before 3.54.0 Heap Buffer Overflow via FTS5 fts5DoSecureDelete()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.CVSS8.5HighEPSS0.23%PrioritiseCVE-2026-119373sqlite +3 moreSQLite before 3.54.0 FTS5 Heap Buffer Overflow via fts5MergeRowidLists()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.CVSS8.5HighEPSS0.21%RoutineCVE-2026-119372sqlite +3 moreSQLite before 3.54.0 Use-After-Free in FTS3 fts3BestSnippet() via snippet()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.CVSS6.8MediumEPSS0.18%RoutineCVE-2026-119371sqlite +3 moreSQLite before 3.54.0 Stack Exhaustion via CTE Chain in selectExpander()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.CVSS6.8MediumEPSS0.29%RoutineCVE-2026-11824sqlite +4 moreSQLite before 3.53.2 Heap Buffer Overflow via FTS5 fts5ChunkIterateSQLite before 3.53.2 contains a heap-based buffer overflow vulnerability in the FTS5 full-text search extension that allows attackers to cause a crash or execute arbitrary code by supplying a crafted database with malicious continuation page metadata specifying a szLeaf value smaller than 4. Attackers can trigger an integer underflow in fts5ChunkIterate() causing an inflated remaining byte count during FTS5 MATCH query processing, leading to a heap buffer overflow of attacker-controlled data in applications compiled with SQLITE_ENABLE_FTS5.CVSS8.5HighEPSS0.31%RoutineCVE-2026-11822sqlite +11 moreSQLite before 3.53.2 Out-of-Bounds Read in FTS5 fts5LeafSeekSQLite before 3.53.2 contains an out-of-bounds read vulnerability in the FTS5 full-text search extension that allows attackers to crash the process by supplying a crafted database with a malformed FTS5 leaf page. Attackers can set an oversized term length in the leaf page so that fts5LeafSeek() reads past the end of the page buffer while comparing terms during an FTS5 MATCH query, in applications compiled with SQLITE_ENABLE_FTS5.CVSS6.8MediumEPSS0.19%PrioritiseCVE-2025-71316sqlite · sqldiffSQLite sqldiff remote code execution via argument injectionSQLite 'sqldiff.exe' does not securely handle the way the Microsoft Windows C runtime converts Unicode characters to ANSI codepages. An attacker could use the '-L' option to load an arbitrary DLL with a crafted command line argument string that results in command line file arguments being misinterpreted as command line options. Fixed on or around 2025-12-26.CVSS9.8CriticalEPSS0.42%PrioritiseCVE-2025-70873sqlite +13 moresqlite sqliteAn information disclosure issue in the zipfileInflate function in the zipfile extension in SQLite v3.51.1 and earlier allows attackers to obtain heap memory via supplying a crafted ZIP file.CVSS7.5HighEPSS0.50%RoutineCVE-2025-7709sqlite · fts5 +10 moreOut Of Bounds write in FTS5 Extension in SQLiteAn integer overflow exists in the FTS5 https://sqlite.org/fts5.html  extension. It occurs when the size of an array of tombstone pointers is calculated and truncated into a 32-bit integer. A pointer to partially controlled data can then be written out of bounds.CVSS6.9MediumEPSS0.39%RoutineCVE-2025-7458sqlite +2 moreSQLite integer overflow in key info allocation may lead to information disclosure.An integer overflow in the sqlite3KeyInfoFromExprList function in SQLite versions 3.39.2 through 3.41.1 allows an attacker with the ability to execute arbitrary SQL statements to cause a denial of service or disclose sensitive information from process memory via a crafted SELECT statement with a large number of expressions in the ORDER BY clause.CVSS9.1CriticalEPSS0.36%PrioritiseCVE-2025-6965apple · ipados +78 moreInteger Truncation on SQLiteThere exists a vulnerability in SQLite versions before 3.50.2 where the number of aggregate terms could exceed the number of columns available. This could lead to a memory corruption issue. We recommend upgrading to version 3.50.2 or above.CVSS7.7HighEPSS60.54%RoutineCVE-2025-3277sqlite +14 moresqlite sqliteAn integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution.CVSS9.8CriticalEPSS1.25%RoutineCVE-2025-29088sqlite +4 moresqlite sqliteIn SQLite 3.49.0 before 3.49.1, certain argument values to sqlite3_db_config (in the C-language API) can cause a denial of service (application crash). An sz*nBig multiplication is not cast to a 64-bit integer, and consequently some memory allocations may be incorrect.CVSS5.6MediumEPSS0.22%