CVE Vulnerabilities

CVE-2018-8740

NULL Pointer Dereference

Published: Mar 17, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
3.3 LOW
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
SqliteSqlite*3.22.0 (including)
Sqlite3Ubuntuartful*
Sqlite3Ubuntubionic*
Sqlite3Ubuntuesm-infra-legacy/trusty*
Sqlite3Ubuntuesm-infra/bionic*
Sqlite3Ubuntuesm-infra/xenial*
Sqlite3Ubuntutrusty*
Sqlite3Ubuntutrusty/esm*
Sqlite3Ubuntuupstream*
Sqlite3Ubuntuxenial*

Potential Mitigations

References