SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* | before 3.25.3 | Vulnerable | SQLite |
| cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:* | before 71.0.3578.80 | Vulnerable | |
| cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* | 15.0 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:* | 42.3 | Vulnerable | openSUSE |
- cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* Versions before 3.25.3 Vulnerable ·SQLite
- cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:* Versions before 71.0.3578.80 Vulnerable ·Google
- cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* Versions 15.0 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:* Versions 42.3 Vulnerable ·openSUSE
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 4 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-20346
- 2026-10-03 Alias added: GHSA-wpf6-c3rx-7xrj
References
Exploit 2
Advisory 18
- https://bugzilla.redhat.com/show_bug.cgi?id=1659379
- https://bugzilla.redhat.com/show_bug.cgi?id=1659677
- [debian-lts-announce] 20181222 [SECURITY] [DLA 1613-1] sqlite3 security update
- https://www.synology.com/security/advisory/Synology_SA_18_61
- https://access.redhat.com/articles/3758321
- https://blade.tencent.com/magellan/index_en.html
- https://news.ycombinator.com/item?id=18685296
- https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e
- https://crbug.com/900910
- FreeBSD-EN-19:03
- https://chromereleases.googleblog.com/2018/12/stable-channel-update-for-desktop.html
- https://www.sqlite.org/releaselog/3_25_3.html
- openSUSE-SU-2019:1159
- openSUSE-SU-2019:1222
- GLSA-201904-21
- USN-4019-1
- USN-4019-2
- FEDORA-2019-49f80a78bc
Other 10
- https://support.apple.com/HT209446
- https://support.apple.com/HT209443
- https://support.apple.com/HT209451
- https://support.apple.com/HT209450
- https://support.apple.com/HT209448
- https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg113218.html
- https://support.apple.com/HT209447
- https://www.oracle.com/security-alerts/cpuapr2020.html
- [debian-lts-announce] 20200822 [SECURITY] [DLA 2340-1] sqlite3 security update
- https://kc.mcafee.com/corporate/index?page=content&id=SB10365
Sources
- CVE-2018-20346 · CVE Program
- CVE-2018-20346 · NVD
- FIRST EPSS
- GHSA-wpf6-c3rx-7xrj · GitHub Advisory Database · CC BY 4.0
- CVE-2018-20346 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences