← Vulnerability feed

Vulnerability record · CVE-2018-20346 · published 21 December 2018

CVE-2018-20346: Sqlite integer overflow vulnerability

Sqlite · Sqlite

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.

8.1 CVSS 3.0 High EPSS 10% · top 4.4% CWE-190 · Integer overflow
8.1CVSS 3.0 base score, v2 6.8
10%EPSS exploitation probability, 30 days
NoNot in CISA KEV
5Affected product versions listed by NVD
66References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00040.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html Mailing ListThird Party Advisory
http://www.securityfocus.com/bid/106323 Third Party AdvisoryVDB Entry
https://access.redhat.com/articles/3758321 Third Party Advisory
https://blade.tencent.com/magellan/index_en.html Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1659379 Issue TrackingThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1659677 Issue TrackingThird Party Advisory
https://chromereleases.googleblog.com/2018/12/stable-channel-update-for-desktop.html Third Party Advisory
https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e Third Party Advisory
https://crbug.com/900910 Permissions RequiredThird Party Advisory
https://github.com/zhuowei/worthdoingbadly.com/blob/master/_posts/2018-12-14-sqlitebug.html ExploitThird Party Advisory
https://kc.mcafee.com/corporate/index?page=content&id=SB10365
https://lists.debian.org/debian-lts-announce/2018/12/msg00012.html Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU4NZ6DDU4BEM3ACM3FM6GL
https://news.ycombinator.com/item?id=18685296 Third Party Advisory
https://security.gentoo.org/glsa/201904-21 Third Party Advisory
https://sqlite.org/src/info/940f2adc8541a838 PatchThird Party Advisory
https://sqlite.org/src/info/d44318f59044162e PatchThird Party Advisory
https://support.apple.com/HT209443
https://support.apple.com/HT209446
https://support.apple.com/HT209447
https://support.apple.com/HT209448
https://support.apple.com/HT209450
https://support.apple.com/HT209451
https://usn.ubuntu.com/4019-1/
https://usn.ubuntu.com/4019-2/
https://worthdoingbadly.com/sqlitebug/ ExploitThird Party Advisory
https://www.freebsd.org/security/advisories/FreeBSD-EN-19:03.sqlite.asc Third Party Advisory
https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg113218.html
https://www.oracle.com/security-alerts/cpuapr2020.html
https://www.sqlite.org/releaselog/3_25_3.html Release NotesVendor Advisory
https://www.synology.com/security/advisory/Synology_SA_18_61 Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00040.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html Mailing ListThird Party Advisory
http://www.securityfocus.com/bid/106323 Third Party AdvisoryVDB Entry
https://access.redhat.com/articles/3758321 Third Party Advisory
https://blade.tencent.com/magellan/index_en.html Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1659379 Issue TrackingThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1659677 Issue TrackingThird Party Advisory

Track CVE-2018-20346 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-10585Google Chrome V8 type confusion enables heap corruptionChrome's V8 JavaScript engine contains a type confusion flaw (CWE-843) that can lead to heap corruption when processing a crafted HTML page. It affec…KEVEPSS 5.4%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed

Source: NIST National Vulnerability Database (record CVE-2018-20346), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.