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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sqlite | Alpine | 3.21.0-r1, 3.20.1-r2, 3.15.2-r2, 3.13.0-r2 |
| sqlite3 | Ubuntu:16.04:LTS | 3.11.0-1ubuntu1.1 |
| sqlite | sqlite | 3.22.0 |
| sqlite3 | Ubuntu:14.04:LTS | 3.8.2-1ubuntu2.2 |
| sqlite3 | Ubuntu:18.04:LTS | 3.22.0-1ubuntu0.4 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | sqlite | 0, 0, 0 |
| n/a | n/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
References
- [debian-lts-announce] 20190111 [SECURITY] [DLA 1633-1] sqlite3 security update mailing-list
- 103466 vdb-entry
- openSUSE-SU-2019:1426 vendor-advisory
- FEDORA-2019-49f80a78bc vendor-advisory
- USN-4205-1 vendor-advisory
- USN-4394-1 vendor-advisory
- [debian-lts-announce] 20200822 [SECURITY] [DLA 2340-1] sqlite3 security update mailing-list
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [debian-lts-announce] 20230522 [SECURITY] [DLA 3431-1] sqlite security update mailing-list