Home / Sqlite / Sqlite / CVE-2018-20346
CVE-2018-20346: is it exploited, and which versions of Sqlite are affected and fixed?
CVE-2018-20346 is an integer overflow vulnerability in Sqlite. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: sqlite before 3.25.3, chrome before 71.0.3578.80, linux 6.0 and 3 more (NVD). Fixed in 3.25.3 and 71.0.3578.80 (NVD). Severity: High (8.1, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:26 UTC.
What is CVE-2018-20346?
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.
From the CVE record by mitre, last updated August 5, 2024, 11:58 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sqlite | sqlite | before 3.25.3 | application |
| chrome | before 71.0.3578.80 | application | |
| redhat | linux | 6.0 | operating system |
| debian | debian linux | 8.0 | operating system |
| opensuse | leap | 15.0 | operating system |
| opensuse | leap | 42.3 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:52 UTC.
How severe is CVE-2018-20346?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-20346 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 10.3% probability of exploitation activity in the next 30 days, percentile 95.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-190 Integer Overflow or Wraparound
Where are the vendor advisories and references?
- https://worthdoingbadly.com/sqlitebug/ x_refsource_MISC
- https://support.apple.com/HT209446 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=1659379 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=1659677 x_refsource_MISC
- [debian-lts-announce] 20181222 [SECURITY] [DLA 1613-1] sqlite3 security update mailing-list, x_refsource_MLIST
- https://www.synology.com/security/advisory/Synology_SA_18_61 x_refsource_CONFIRM
- https://access.redhat.com/articles/3758321 x_refsource_MISC
- https://support.apple.com/HT209443 x_refsource_CONFIRM
- https://blade.tencent.com/magellan/index_en.html x_refsource_MISC
- https://support.apple.com/HT209451 x_refsource_CONFIRM
- https://github.com/zhuowei/worthdoingbadly.com/blob/master/_posts/2018-12-14-sqlitebug.html x_refsource_MISC
- https://news.ycombinator.com/item?id=18685296 x_refsource_MISC
- https://support.apple.com/HT209450 x_refsource_CONFIRM
- https://sqlite.org/src/info/940f2adc8541a838 x_refsource_MISC
- https://support.apple.com/HT209448 x_refsource_CONFIRM
- https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e x_refsource_MISC
- https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg113218.html x_refsource_MISC
- 106323 vdb-entry, x_refsource_BID
- https://crbug.com/900910 x_refsource_MISC
- https://sqlite.org/src/info/d44318f59044162e x_refsource_MISC
- FreeBSD-EN-19:03 vendor-advisory, x_refsource_FREEBSD
- https://chromereleases.googleblog.com/2018/12/stable-channel-update-for-desktop.html x_refsource_MISC
- https://www.sqlite.org/releaselog/3_25_3.html x_refsource_MISC
- https://support.apple.com/HT209447 x_refsource_CONFIRM
- openSUSE-SU-2019:1159 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2019:1222 vendor-advisory, x_refsource_SUSE
- GLSA-201904-21 vendor-advisory, x_refsource_GENTOO
- USN-4019-1 vendor-advisory, x_refsource_UBUNTU
- USN-4019-2 vendor-advisory, x_refsource_UBUNTU
- FEDORA-2019-49f80a78bc vendor-advisory, x_refsource_FEDORA
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
- [debian-lts-announce] 20200822 [SECURITY] [DLA 2340-1] sqlite3 security update mailing-list, x_refsource_MLIST
- https://kc.mcafee.com/corporate/index?page=content&id=SB10365 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- December 21, 2018
- Published
- December 21, 2018, 21:00 UTC
- CVE record updated
- August 5, 2024, 11:58 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:52 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:26 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Sqlite?
- Oct 30, 2026CVE-2026-119591 SQLite: uncontrolled recursion
- Oct 30, 2026CVE-2026-119586 SQLite: command injection
- Oct 30, 2026CVE-2026-119379 SQLite: out-of-bounds write (memory corruption)
- Oct 30, 2026CVE-2026-119378 SQLite: use after free
- Oct 30, 2026CVE-2026-119377 SQLite: incorrect authorization
- Oct 30, 2026CVE-2026-119376 SQLite: uncontrolled recursion
- Oct 30, 2026CVE-2026-119375 SQLite: use of uninitialized resource
- Oct 30, 2026CVE-2026-119374 SQLite: out-of-bounds write (memory corruption)
Questions about CVE-2018-20346
Is CVE-2018-20346 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 10.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Sqlite are affected by CVE-2018-20346?
sqlite before 3.25.3, chrome before 71.0.3578.80, linux 6.0, debian linux 8.0, leap 15.0 and leap 42.3, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2018-20346?
3.25.3 and 71.0.3578.80, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-20346?
High (8.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-20346?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.