← Vulnerability feed

Vulnerability record · CVE-2018-20506 · published 3 April 2019

CVE-2018-20506: Sqlite integer overflow vulnerability

Sqlite · Sqlite

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.

8.1 CVSS 3.0 High EPSS 7.6% · top 5.7% CWE-190 · Integer overflow
8.1CVSS 3.0 base score, v2 6.8
7.6%EPSS exploitation probability, 30 days
NoNot in CISA KEV
8Affected product versions listed by NVD
54References
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

8 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/62 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/64 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/66 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/67 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/68 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/69 Mailing ListThird Party Advisory
http://www.securityfocus.com/bid/106698 Third Party AdvisoryVDB Entry
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 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Jan/29 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Jan/31 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Jan/32 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Jan/33 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Jan/39 Mailing ListThird Party Advisory
https://security.netapp.com/advisory/ntap-20190502-0004/ Third Party Advisory
https://sqlite.org/src/info/940f2adc8541a838 Vendor Advisory
https://support.apple.com/kb/HT209443 Third Party Advisory
https://support.apple.com/kb/HT209446 Third Party Advisory
https://support.apple.com/kb/HT209447 Third Party Advisory
https://support.apple.com/kb/HT209448 Third Party Advisory
https://support.apple.com/kb/HT209450 Third Party Advisory
https://support.apple.com/kb/HT209451 Third Party Advisory
https://usn.ubuntu.com/4019-1/
https://usn.ubuntu.com/4019-2/
https://www.oracle.com/security-alerts/cpuapr2020.html
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/62 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/64 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/66 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/67 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/68 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/69 Mailing ListThird Party Advisory
http://www.securityfocus.com/bid/106698 Third Party AdvisoryVDB Entry
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 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Jan/29 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Jan/31 Mailing ListThird Party Advisory

Track CVE-2018-20506 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-43300Apple iOS, iPadOS and macOS out-of-bounds write via malicious imageAn out-of-bounds write in Apple iOS, iPadOS and macOS is triggered when processing a malicious image file, causing memory corruption. Apple states th…KEVEPSS 22%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2025-24085Apple iOS, iPadOS, macOS, tvOS, visionOS, watchOS Use-After-Free Privilege EscalationA use-after-free flaw in Apple's operating systems was fixed through improved memory management in iOS 18.3, iPadOS 18.3 and 17.7.6, macOS Sequoia 15…KEVEPSS 18%analysed9.8CVE-2025-31200Apple OS media parsing memory corruption allows code executionA memory corruption flaw in Apple's audio stream processing was fixed with improved bounds checking across iOS, iPadOS, macOS, tvOS, visionOS and wat…KEVEPSS 19%analysed9.8CVE-2025-31201Apple OS Pointer Authentication bypass via arbitrary read/writeApple removed vulnerable code that allowed an attacker holding arbitrary read and write capability to bypass Pointer Authentication across iOS, iPadO…KEVEPSS 14%analysed9.8CVE-2022-22587Apple iOS, iPadOS and macOS kernel memory corruption via out-of-bounds writeAn out-of-bounds write (CWE-787) in Apple iOS, iPadOS and macOS is caused by insufficient input validation and can corrupt memory. Apple states it is…KEVEPSS 12%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed

Source: NIST National Vulnerability Database (record CVE-2018-20506), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.