VDB

CVE-2018-8740

CVE-2018-8740 PUBLISHED

Reported by mitre · Published March 17, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
sqliteAlpine3.21.0-r1, 3.20.1-r2, 3.15.2-r2, 3.13.0-r2
sqlite3Ubuntu:16.04:LTS3.11.0-1ubuntu1.1
sqlitesqlite3.22.0
sqlite3Ubuntu:14.04:LTS3.8.2-1ubuntu2.2
sqlite3Ubuntu:18.04:LTS3.22.0-1ubuntu0.4

Affected products

VendorProductVersions
n/an/an/a
alpinesqlite0, 0, 0
n/an/a*

Timeline

  • Mar 17, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (4 in total, the first dated here)
  • Sep 18, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-8740
vulnetix vdb fixes CVE-2018-8740

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-8740/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›