Logo
componentsqlite3
Name
sqlite3
Version
3.45.3
Type
library
Description
Embeddable SQL database engine
Licenses
PD
PURL
-
CPE
cpe:2.3:*:*:sqlite3:3.45.3:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
3.38.5
master
3.53.2

Patches#


#
Title
Author
Resolve
1
Optimize allocation of large tombstone arrays in fts5.
Hugo SIMELIERE <simeliere.hugo@non.se.com>
CVE-2025-7709
2
Add a typecast to avoid 32-bit integer overflow in the
drh <>
CVE-2025-29087
CVE-2025-3277
3
Raise an error right away if the number of aggregate terms in
drh <>
CVE-2025-6965
4
Harden the SQLITE_DBCONFIG_LOOKASIDE interface against
drh <>
CVE-2025-29088
5
In the zipfile extension, only return as many bytes as
drh <>
CVE-2025-70873

Vulnerabilities#


Name
Analysis
Description
Patched
An 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.
Patched
An 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.
Patched
There 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.
Patched
An 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.
Patched
In 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.
Patched
In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory.
Exploitable
The package sqlite3 before 5.0.3 are vulnerable to Denial of Service (DoS) which will invoke the toString function of the passed parameter. If passed an invalid Function object it will throw and crash the V8 engine.