{"id":"ALPINE-CVE-2018-8740","details":"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.","modified":"2026-10-19T11:17:56.722040628Z","published":"2018-03-17T00:29:00.247Z","upstream":["CVE-2018-8740"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-8740"}],"affected":[{"package":{"name":"sqlite","ecosystem":"Alpine:v3.4","purl":"pkg:apk/alpine/sqlite?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.0-r2"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-8740.json"}},{"package":{"name":"sqlite","ecosystem":"Alpine:v3.5","purl":"pkg:apk/alpine/sqlite?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.15.2-r2"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-8740.json"}},{"package":{"name":"sqlite","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/sqlite?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.20.1-r2"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-8740.json"}},{"package":{"name":"sqlite","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/sqlite?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.21.0-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-8740.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}