What’s Vulnerable › Vulnerabilities
CVE-2018-20506
- Severity: high (CVSS 8.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 7.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2019-04-03 · updated 2026-06-17
- Weakness: CWE-190
Description
SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a "merge" operation that occurs 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). This is a different vulnerability than CVE-2018-20346.
Affected products
- Apple iCloud for Windows: through 7.10
- Apple Iphone Os: before 12.1.3 — fixed in 12.1.3
- Apple iTunes for Windows: through 12.9.3
- macOS: before 10.14.3 — fixed in 10.14.3
- Apple tvOS: before 12.1.2 — fixed in 12.1.2
- Apple watchOS: before 5.1.3 — fixed in 5.1.3
- openSUSE Leap: 42.3
- SQLite: before 3.25.3 — fixed in 3.25.3
How to fix
Upgrade to a fixed version: Apple Iphone Os 12.1.3; macOS 10.14.3; Apple tvOS 12.1.2; Apple watchOS 5.1.3; SQLite 3.25.3. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html
- http://seclists.org/fulldisclosure/2019/Jan/62
- http://seclists.org/fulldisclosure/2019/Jan/64
- http://seclists.org/fulldisclosure/2019/Jan/66
- http://seclists.org/fulldisclosure/2019/Jan/67
- http://seclists.org/fulldisclosure/2019/Jan/68
- http://seclists.org/fulldisclosure/2019/Jan/69
- http://www.securityfocus.com/bid/106698
- https://kc.mcafee.com/corporate/index?page=content&id=SB10365
- https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html
- https://seclists.org/bugtraq/2019/Jan/28
- https://seclists.org/bugtraq/2019/Jan/29
Get alerted when CVE-2018-20506 or the next vulnerability affects your stack