Back
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…
High8.1EPSS 10.2%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 10.2% · top 4.3% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Weakness
Affected products
n/a
- affected n/a
References (33)
- https://worthdoingbadly.com/sqlitebug/ (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/HT209446 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1659379 (opens in a new tab)x_refsource_MISCx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1659677 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20181222 [SECURITY] [DLA 1613-1] sqlite3 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.synology.com/security/advisory/Synology_SA_18_61 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://access.redhat.com/articles/3758321 (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/HT209443 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://blade.tencent.com/magellan/index_en.html (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/HT209451 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/zhuowei/worthdoingbadly.com/blob/master/_posts/2018-12-14-sqlitebug.html (opens in a new tab)x_refsource_MISCx_transferred
- https://news.ycombinator.com/item?id=18685296 (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/HT209450 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://sqlite.org/src/info/940f2adc8541a838 (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/HT209448 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e (opens in a new tab)x_refsource_MISCx_transferred
- https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg113218.html (opens in a new tab)x_refsource_MISCx_transferred
- 106323 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://crbug.com/900910 (opens in a new tab)x_refsource_MISCx_transferred
- https://sqlite.org/src/info/d44318f59044162e (opens in a new tab)x_refsource_MISCx_transferred
- FreeBSD-EN-19:03 (opens in a new tab)vendor-advisoryx_refsource_FREEBSDx_transferred
- https://chromereleases.googleblog.com/2018/12/stable-channel-update-for-desktop.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.sqlite.org/releaselog/3_25_3.html (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/HT209447 (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2019:1159 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2019:1222 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- GLSA-201904-21 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- USN-4019-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-4019-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- FEDORA-2019-49f80a78bc (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://www.oracle.com/security-alerts/cpuapr2020.html (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20200822 [SECURITY] [DLA 2340-1] sqlite3 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://kc.mcafee.com/corporate/index?page=content&id=SB10365 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-20346)Record last updated .