Vulnerabilities · 2018 · Sqlite
CVE-2018-8740
Sqlite vulnerability
In SQLite through 3.22.0, databases whose schema is corrupted using a CREATE TABLE AS statement could cause a NULL pointer dereference, related to build.c and prepare.c.
Affected products
Sqlite, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sqlite runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.sqlite.org/cgi/src/timeline?r=corrupt-schema · Vendor Advisory
- www.sqlite.org/cgi/src/vdiff?from=1774f1c3baf0bc3d&to=d75e67654aa9620b · Patch
- www.securityfocus.com/bid/103466 · Third Party Advisory
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=6964 · Third Party Advisory
- bugs.launchpad.net/ubuntu/+source/sqlite3/+bug/1756349 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/01/msg00009.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-05/msg00050.html
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%
- nvd.nist.gov/vuln/detail/CVE-2018-8740
- cve.org/CVERecord?id=CVE-2018-8740
More vulnerabilities in Sqlite products
CVE-2025-29088CVE-2025-29087CVE-2025-7458CVE-2025-6965CVE-2025-3277CVE-2024-0232CVE-2023-7104CVE-2022-46908All 62
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.