CVE-2018-20506 is a high-severity integer overflow vulnerability in SQLite versions prior to 3.25.3, specifically when the FTS3 extension is enabled. This flaw, affecting products from Apple, Microsoft, and openSUSE, can lead to a buffer overflow during FTS3 query "merge" operations after crafted changes to shadow tables. A remote attacker can exploit this by running arbitrary SQL statements, potentially leading to arbitrary code execution with high impact on confidentiality, integrity, and availability. While the CVSS score is 8.1 (High), there is currently no known active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion surrounding this vulnerability.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 3.25.3CPE matchmatch criteria | cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* | ||
< 12.1.3CPE matchmatch criteria | cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* | ||
< 10.14.3CPE matchmatch criteria | cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | ||
< 12.1.2CPE matchmatch criteria | cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:* | ||
< 5.1.3CPE matchmatch criteria | cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.0
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
CVE-2018-20506
Jun 11, 2024SQLite 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.
Apr 9, 2019sqlite: Multiple flaws in sqlite which can be triggered via corrupted internal databases (Magellan)
Dec 4, 2018