High severity7.5NVD Advisory· Published Mar 17, 2018· Updated Jun 17, 2026
CVE-2018-8740
CVE-2018-8740
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
23- osv-coords22 versionspkg:rpm/opensuse/sqlite3&distro=openSUSE%20Tumbleweedpkg:rpm/suse/sqlite3&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSSpkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4pkg:rpm/suse/sqlite3&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/sqlite3&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/sqlite3&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/sqlite3&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/sqlite3&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 3.36.0-1.2+ 21 more
- (no CPE)range: < 3.36.0-1.2
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.8.10.2-9.6.1
- (no CPE)range: < 3.8.10.2-9.6.1
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.8.10.2-9.6.1
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.8.10.2-9.6.1
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.8.3.1-2.12.1
- (no CPE)range: < 3.8.10.2-9.6.1
- (no CPE)range: < 3.8.10.2-9.6.1
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.8.10.2-9.6.1
- (no CPE)range: < 3.8.10.2-9.6.1
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.36.0-9.18.1
- (no CPE)range: < 3.36.0-9.18.1
Patches
Vulnerability mechanics
References
14- www.sqlite.org/cgi/src/vdiffnvdPatchVendor Advisory
- www.securityfocus.com/bid/103466nvdThird Party AdvisoryVDB Entry
- bugs.chromium.org/p/oss-fuzz/issues/detailnvdPermissions RequiredThird Party Advisory
- bugs.launchpad.net/ubuntu/+source/sqlite3/+bug/1756349nvdThird Party Advisory
- lists.debian.org/debian-lts-announce/2019/01/msg00009.htmlnvdMailing ListThird Party Advisory
- www.sqlite.org/cgi/src/timelinenvdVendor Advisory
- lists.opensuse.org/opensuse-security-announce/2019-05/msg00050.htmlnvd
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Envd
- lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Envd
- lists.debian.org/debian-lts-announce/2020/08/msg00037.htmlnvd
- lists.debian.org/debian-lts-announce/2023/05/msg00022.htmlnvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK/nvd
- usn.ubuntu.com/4205-1/nvd
- usn.ubuntu.com/4394-1/nvd
News mentions
1- ABB B&R Automation StudioCISA ICS Advisories