cve.bz

CVE-2018-8740 NULL Pointer Dereference

7.5 highEPSS 8.0%Fix available

High (7.5). EPSS 8.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
8.0% (unchanged from 8.0% a week ago; 8.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-8740 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-8740?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-8740?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-8740 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sqlite:sqlitethrough 3.22.0
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8sqlite33.8.7.1-1+deb8u4DLA-1633-1
Debian9sqlite33.16.2-5+deb9u2DLA-2340-1
Debian10sqlite2.8.17-15+deb10u1DLA-3431-1
Debian12, 13, 14sqlite33.22.0-2DEBIAN-CVE-2018-8740
Ubuntu14.04:LTSsqlite33.8.2-1ubuntu2.2UBUNTU-CVE-2018-8740
Ubuntu16.04:LTSsqlite33.11.0-1ubuntu1.1UBUNTU-CVE-2018-8740 USN-4205-1 USN-4394-1
Ubuntu18.04:LTSsqlite33.22.0-1ubuntu0.4UBUNTU-CVE-2018-8740 USN-4205-1 USN-4394-1
Ubuntu20.04:LTSsqlite33.31.1-4ubuntu0.1USN-4394-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moresqlite33.36.0-9.18.1SUSE-SU-2021:3215-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP3 and 5 moresqlite33.8.10.2-9.6.1SUSE-SU-2019:1208-1
SUSELinux Enterprise Server 12-LTSSsqlite33.8.3.1-2.12.1SUSE-SU-2019:1522-1
openSUSETumbleweedsqlite33.36.0-1.2openSUSE-SU-2024:11400-1
Alpinev3.4sqlite3.13.0-r2ALPINE-CVE-2018-8740
Alpinev3.5sqlite3.15.2-r2ALPINE-CVE-2018-8740
Alpinev3.6sqlite3.20.1-r2ALPINE-CVE-2018-8740
Alpinev3.7sqlite3.21.0-r1ALPINE-CVE-2018-8740

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Product Security has rated this issue as having a security impact of Low. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5sqliteNot affected
Red Hat Enterprise Linux 6sqliteNot affected
Red Hat Enterprise Linux 7sqliteWill not fix
Red Hat Enterprise Linux 8sqliteNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-8740.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-141-03ABB B&R Automation Studio2026-02-18EnergyABB B&R Automation Studio <6.5ABB B&R Automation Studio 6.5

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON