{"id":"ALPINE-CVE-2018-20346","details":"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.","modified":"2025-11-19T06:14:04.989446Z","published":"2018-12-21T21:29:00.243Z","upstream":["CVE-2018-20346"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-20346"}],"affected":[{"package":{"name":"sqlite","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/sqlite?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.25.3-r0"}]}],"versions":["3.10.2-r0","3.11.0-r0","3.11.1-r0","3.12.0-r0","3.12.1-r0","3.12.2-r0","3.12.2-r1","3.13.0-r0","3.14.1-r0","3.14.2-r0","3.15.0-r0","3.15.1-r0","3.15.2-r0","3.16.0-r0","3.16.2-r0","3.17.0-r0","3.17.0-r1","3.18.0-r0","3.20.1-r0","3.20.1-r1","3.20.1-r2","3.6.10-r0","3.6.15-r0","3.6.22-r0","3.6.22-r1","3.6.22-r2","3.7.0-r0","3.7.0.1-r0","3.7.1-r0","3.7.10-r0","3.7.11-r0","3.7.12-r0","3.7.12.1-r0","3.7.12.1-r1","3.7.12.1-r2","3.7.13-r0","3.7.13-r1","3.7.14-r0","3.7.14.1-r0","3.7.15-r0","3.7.15.1-r0","3.7.15.2-r0","3.7.16.1-r0","3.7.16.2-r0","3.7.17-r0","3.7.2-r0","3.7.3-r0","3.7.4-r0","3.7.4-r1","3.7.4-r2","3.7.5-r0","3.7.5-r1","3.7.6-r0","3.7.6.1-r0","3.7.6.2-r0","3.7.6.2-r1","3.7.6.3-r0","3.7.7-r0","3.7.7.1-r0","3.7.8-r0","3.7.9-r0","3.8.0-r0","3.8.0.1-r0","3.8.0.2-r0","3.8.1-r0","3.8.10-r0","3.8.10.1-r0","3.8.10.1-r1","3.8.10.2-r0","3.8.11-r0","3.8.11.1-r0","3.8.11.1-r1","3.8.2-r0","3.8.3-r0","3.8.3.1-r0","3.8.4-r0","3.8.4.1-r0","3.8.4.2-r0","3.8.4.3-r0","3.8.4.3-r1","3.8.5-r0","3.8.6-r0","3.8.7-r0","3.8.7.1-r0","3.8.7.2-r0","3.8.7.3-r0","3.8.7.4-r0","3.8.8.1-r0","3.8.8.2-r0","3.8.8.3-r0","3.8.9-r0","3.9.0-r1","3.9.1-r0","3.9.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20346.json"}},{"package":{"name":"sqlite","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/sqlite?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.25.3-r0"}]}],"versions":["3.10.2-r0","3.11.0-r0","3.11.1-r0","3.12.0-r0","3.12.1-r0","3.12.2-r0","3.12.2-r1","3.13.0-r0","3.14.1-r0","3.14.2-r0","3.15.0-r0","3.15.1-r0","3.15.2-r0","3.16.0-r0","3.16.2-r0","3.17.0-r0","3.17.0-r1","3.18.0-r0","3.18.0-r1","3.19.3-r0","3.20.0-r0","3.20.1-r0","3.21.0-r0","3.21.0-r1","3.6.10-r0","3.6.15-r0","3.6.22-r0","3.6.22-r1","3.6.22-r2","3.7.0-r0","3.7.0.1-r0","3.7.1-r0","3.7.10-r0","3.7.11-r0","3.7.12-r0","3.7.12.1-r0","3.7.12.1-r1","3.7.12.1-r2","3.7.13-r0","3.7.13-r1","3.7.14-r0","3.7.14.1-r0","3.7.15-r0","3.7.15.1-r0","3.7.15.2-r0","3.7.16.1-r0","3.7.16.2-r0","3.7.17-r0","3.7.2-r0","3.7.3-r0","3.7.4-r0","3.7.4-r1","3.7.4-r2","3.7.5-r0","3.7.5-r1","3.7.6-r0","3.7.6.1-r0","3.7.6.2-r0","3.7.6.2-r1","3.7.6.3-r0","3.7.7-r0","3.7.7.1-r0","3.7.8-r0","3.7.9-r0","3.8.0-r0","3.8.0.1-r0","3.8.0.2-r0","3.8.1-r0","3.8.10-r0","3.8.10.1-r0","3.8.10.1-r1","3.8.10.2-r0","3.8.11-r0","3.8.11.1-r0","3.8.11.1-r1","3.8.2-r0","3.8.3-r0","3.8.3.1-r0","3.8.4-r0","3.8.4.1-r0","3.8.4.2-r0","3.8.4.3-r0","3.8.4.3-r1","3.8.5-r0","3.8.6-r0","3.8.7-r0","3.8.7.1-r0","3.8.7.2-r0","3.8.7.3-r0","3.8.7.4-r0","3.8.8.1-r0","3.8.8.2-r0","3.8.8.3-r0","3.8.9-r0","3.9.0-r1","3.9.1-r0","3.9.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20346.json"}},{"package":{"name":"sqlite","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/sqlite?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.25.3-r0"}]}],"versions":["3.10.2-r2","3.11.0-r2","3.11.1-r2","3.12.0-r2","3.12.1-r2","3.12.2-r2","3.13.0-r2","3.14.1-r2","3.14.2-r2","3.15.0-r2","3.15.1-r2","3.15.2-r2","3.16.0-r2","3.16.2-r2","3.17.0-r2","3.18.0-r2","3.19.3-r2","3.20.0-r2","3.20.1-r2","3.21.0-r2","3.22.0-r2","3.23.0-r2","3.23.1-r0","3.23.1-r2","3.24.0-r0","3.6.10-r0","3.6.15-r0","3.6.22-r0","3.6.22-r1","3.6.22-r2","3.7.0-r2","3.7.0.1-r2","3.7.1-r2","3.7.10-r2","3.7.11-r2","3.7.12-r2","3.7.12.1-r2","3.7.13-r2","3.7.14-r2","3.7.14.1-r2","3.7.15-r2","3.7.15.1-r2","3.7.15.2-r2","3.7.16.1-r2","3.7.16.2-r2","3.7.17-r2","3.7.2-r2","3.7.3-r2","3.7.4-r2","3.7.5-r2","3.7.6-r2","3.7.6.1-r2","3.7.6.2-r2","3.7.6.3-r2","3.7.7-r2","3.7.7.1-r2","3.7.8-r2","3.7.9-r2","3.8.0-r2","3.8.0.1-r2","3.8.0.2-r2","3.8.1-r2","3.8.10-r2","3.8.10.1-r2","3.8.10.2-r2","3.8.11-r2","3.8.11.1-r2","3.8.2-r2","3.8.3-r2","3.8.3.1-r2","3.8.4-r2","3.8.4.1-r2","3.8.4.2-r2","3.8.4.3-r2","3.8.5-r2","3.8.6-r2","3.8.7-r2","3.8.7.1-r2","3.8.7.2-r2","3.8.7.3-r2","3.8.7.4-r2","3.8.8.1-r2","3.8.8.2-r2","3.8.8.3-r2","3.8.9-r2","3.9.0-r2","3.9.1-r2","3.9.2-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20346.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}