SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection mechanism, and instead allows UDF functions such as WRITEFILE.
Vendor
SQLite vulnerabilities
77 published CVES affecting SQLite, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 77
- Critical
- 7
- High
- 40
- Medium
- 29
- Low
- 1
- Unscored
- 0
- CISA KEV
- 0
Products
Latest SQLite CVEs
Newest publication first · page 2 of 4
-
HighCVSS 7.3 EPSS 0.45%
-
CriticalCVSS 9.8 EPSS 1.7%
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
-
HighCVSS 7.5 EPSS 1.6%
In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.
-
HighCVSS 7.5 EPSS 23.6%
SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a string argument to a C API.
-
MediumCVSS 5.5 EPSS 0.65%
A flaw was found in SQLite's SELECT query functionality (src/select.c). This flaw allows an attacker who is capable of running SQL queries locally on the SQLite database to cause a denial of service or possible code execution by triggering a use-after-free. The highest threat fro...
-
MediumCVSS 5.5 EPSS 1.0%
In SQLite before 3.32.3, select.c mishandles query-flattener optimization, leading to a multiSelectOrderBy heap overflow because of misuse of transitive properties for constant propagation.
-
HighCVSS 7.5 EPSS 4.4%
SQLite 3.32.2 has a use-after-free in resetAccumulator in select.c because the parse tree rewrite for window functions is too late.
-
HighCVSS 7.0 EPSS 1.0%
ext/fts3/fts3.c in SQLite before 3.32.0 has a use-after-free in fts3EvalNextRow, related to the snippet feature.
-
MediumCVSS 5.5 EPSS 0.66%
SQLite before 3.32.0 allows a virtual table to be renamed to the name of one of its shadow tables, related to alter.c and build.c.
-
MediumCVSS 5.5 EPSS 0.60%
ext/fts3/fts3_snippet.c in SQLite before 3.32.0 has a NULL pointer dereference via a crafted matchinfo() query.
-
CVE-2020-13434 SQLite through 3.32.0 has an integer overflow in sqlite3_str_vappendf in printf.c.
PublishedMediumCVSS 5.5 EPSS 0.97%SQLite through 3.32.0 has an integer overflow in sqlite3_str_vappendf in printf.c.
-
CVE-2020-13435 SQLite through 3.32.0 has a segmentation fault in sqlite3ExprCodeTarget in expr.c.
PublishedMediumCVSS 5.5 EPSS 0.64%SQLite through 3.32.0 has a segmentation fault in sqlite3ExprCodeTarget in expr.c.
-
HighCVSS 7.5 EPSS 4.3%
SQLite through 3.31.1 allows attackers to cause a denial of service (segmentation fault) via a malformed window-function query because the AggInfo object's initialization is mishandled.
-
CriticalCVSS 9.8 EPSS 8.7%
In SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compound SELECT statement.
-
HighCVSS 7.5 EPSS 3.7%
In SQLite 3.31.1, isAuxiliaryVtabOperator allows attackers to trigger a NULL pointer dereference and segmentation fault because of generated column optimizations.
-
HighCVSS 7.5 EPSS 3.4%
ext/misc/zipfile.c in SQLite 3.30.1 mishandles certain uses of INSERT INTO in situations involving embedded '\0' characters in filenames, leading to a memory-management error that can be detected by (for example) valgrind.
-
HighCVSS 7.5 EPSS 3.7%
selectExpander in select.c in SQLite 3.30.1 proceeds with WITH stack unwinding even after a parsing error.
-
HighCVSS 7.5 EPSS 6.8%
zipfileUpdate in ext/misc/zipfile.c in SQLite 3.30.1 mishandles a NULL pathname during an update of a ZIP archive.
-
MediumCVSS 5.3 EPSS 10.7%
SQLite 3.30.1 mishandles certain parser-tree rewriting, related to expr.c, vdbeaux.c, and window.c. This is caused by incorrect sqlite3WindowRewrite() error handling.
-
HighCVSS 7.5 EPSS 6.8%
flattenSubquery in select.c in SQLite 3.30.1 mishandles certain uses of SELECT DISTINCT involving a LEFT JOIN in which the right-hand side is a view. This can cause a NULL pointer dereference (or incorrect results).
-
HighCVSS 7.5 EPSS 8.0%
multiSelect in select.c in SQLite 3.30.1 mishandles certain errors during parsing, as demonstrated by errors from sqlite3WindowRewrite() calls. NOTE: this vulnerability exists because of an incomplete fix for CVE-2019-19880.
-
HighCVSS 7.5 EPSS 6.9%
exprListAppendList in window.c in SQLite 3.30.1 allows attackers to trigger an invalid pointer dereference because constant integer values in ORDER BY clauses of window definitions are mishandled.
-
HighCVSS 7.5 EPSS 11.0%
SQLite 3.30.1 mishandles certain SELECT statements with a nonexistent VIEW, leading to an application crash.
-
CriticalCVSS 9.8 EPSS 7.4%
pragma.c in SQLite through 3.30.1 mishandles NOT NULL in an integrity_check PRAGMA command in certain cases of generated columns.
-
MediumCVSS 5.5 EPSS 0.57%
alter.c in SQLite through 3.30.1 allows attackers to trigger infinite recursion via certain types of self-referential views in conjunction with ALTER TABLE statements.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.