cve.bz

CVE-2018-20506 Year 2038 problem, Y2K38, Y2038, Epochalypse

8.1 highEPSS 7.6%

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

On this page
SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a "merge" operation that occurs after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases). This is a different vulnerability than CVE-2018-20346.

Severity

CVSS 3.0

8.1 high
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
7.6% (unchanged from 7.6% a week ago; 7.6% 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-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
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-20506 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20506?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20506?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-20506 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:sqlitebefore 3.25.3
apple:iphone_osbefore 12.1.3
apple:mac_os_xbefore 10.14.3
apple:tvosbefore 12.1.2
apple:watchosbefore 5.1.3
apple:icloudthrough 7.10
apple:itunesthrough 12.9.3
opensuse:leap42.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8sqlite33.8.7.1-1+deb8u3DLA-1613-1
Debian9sqlite33.16.2-5+deb9u2DLA-2340-1
Debian12, 13, 14sqlite33.25.3-1DEBIAN-CVE-2018-20506
Ubuntu16.04:LTSsqlite33.11.0-1ubuntu1.2UBUNTU-CVE-2018-20506 USN-4019-1
Ubuntu18.04:LTSsqlite33.22.0-1ubuntu0.1UBUNTU-CVE-2018-20506 USN-4019-1
UbuntuPro:14.04:LTSsqlite33.8.2-1ubuntu2.2+esm1UBUNTU-CVE-2018-20506 USN-4019-2
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 12 moresqlite33.8.10.2-9.3.1SUSE-SU-2019:0913-1
SUSELinux Enterprise Server 12-LTSSsqlite33.8.3.1-2.7.1SUSE-SU-2019:0973-1
Azure Linux3ceph18.2.1-1AZL-38485

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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw does not affect the versions of sqlite package shipped with Red Hat Enterprise Linux 5, 6 and 7. This flaw in sqlite can be exploited by attackers only if they are able to run arbitrary SQL statements on the sqlite database. For more information please see https://bugzilla.redhat.com/show_bug.cgi?id=1659379#c12

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5sqliteNot affected
Red Hat Enterprise Linux 6sqliteNot affected
Red Hat Enterprise Linux 7sqliteNot affected
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-20506.

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.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON