cve.bz

CVE-2018-20346 (Magellan) Year 2038 problem, Y2K38, Y2038, Epochalypse

8.1 highExploit referenceEPSS 10%Fix available

Known as Magellan

High (8.1). EPSS 10% 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 that occur 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), aka Magellan.

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
10% (unchanged from 10% a week ago; 10% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-21. 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-20346 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20346?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20346?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-20346 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
google:chromebefore 71.0.3578.80
redhat:linux6.0
debian:debian_linux8.0
opensuse:leap15.0
opensuse:leap42.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8sqlite33.8.7.1-1+deb8u3DLA-1613-1
Debian9chromium-browser71.0.3578.80-1~deb9u1DSA-4352-1
Debian9sqlite33.16.2-5+deb9u2DLA-2340-1
Debian12, 13, 14chromium71.0.3578.80-1DEBIAN-CVE-2018-20346
Debian12, 13, 14sqlite33.25.3-1DEBIAN-CVE-2018-20346
Ubuntu16.04:LTSsqlite33.11.0-1ubuntu1.2UBUNTU-CVE-2018-20346 USN-4019-1
Ubuntu18.04:LTSsqlite33.22.0-1ubuntu0.1UBUNTU-CVE-2018-20346 USN-4019-1
UbuntuPro:14.04:LTSsqlite33.8.2-1ubuntu2.2+esm1UBUNTU-CVE-2018-20346 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
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 Module for Basesystem 15sqlite33.27.2-3.3.2SUSE-SU-2019:0788-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4 and 2 moresqlite33.7.6.3-1.4.7.3.1SUSE-SU-2019:14003-1
SUSELinux Enterprise Server 12-LTSSsqlite33.8.3.1-2.7.1SUSE-SU-2019:0973-1
openSUSELeap 15.0sqlite33.27.2-lp150.2.3.1openSUSE-SU-2019:1159-1
Alpinev3.6, v3.7, v3.8sqlite3.25.3-r0ALPINE-CVE-2018-20346
Azure Linux3ceph18.2.1-1AZL-38458

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

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-20346.

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