CVE-2018-20506 json
SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries i…
published 7y ago modified 4mo ago also EUVD-2018-13060
- cvss
- 8.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.5%
- EPSS 7.5% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- sqlite sqlite 3.25.3
- apple iphone_os 12.1.3
- apple mac_os_x 10.14.3
- apple tvos 12.1.2
- apple watchos 5.1.3
- sqlite3 Debian 14, Debian 13, Debian 12 3.25.3-1
debian advisories DEBIAN-CVE-2018-20506
- sqlite3 Ubuntu 16.04 LTS 3.11.0-1ubuntu1.2
- sqlite3 Ubuntu 18.04 LTS 3.22.0-1ubuntu0.1
- sqlite3 Ubuntu Pro 14.04 LTS 3.8.2-1ubuntu2.2+esm1
ubuntu advisories UBUNTU-CVE-2018-20506
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- sqlite3 SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES for SAP 12 SP2 +12 more 3.8.10.2-9.3.1
- sqlite3 SLES 12-LTSS 3.8.3.1-2.7.1
suse advisories SUSE-SU-2019:0973-1SUSE-SU-2019:0913-1
Is CVE-2018-20506 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-20506 updated cvss 7.0
sqlite: Multiple flaws in sqlite which can be triggered via corrupted internal databases (Magellan)
-
Red Hat Enterprise Linux 5 sqlite Red Hat Enterprise Linux 6 lemon, sqlite, sqlite-tcl Red Hat Enterprise Linux 7 lemon, sqlite, sqlite-tcl Red Hat Enterprise Linux 8 lemon, sqlite, sqlite-libsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-141-03 updated cvss 8.1
ABB B&R Automation Studio
-
ABB B&R Automation Studio <6.5affected: vendor fix, mitigation
-
ABB B&R Automation Studio 6.5fixed
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
7.50% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
lists.opensuse.org
/opensuse-security-announce/2019-04/msg00070.html
vendor-advisory, mailing-list, third-party-advisory
-
usn.ubuntu.com
/4019-1/
vendor-advisory
-
usn.ubuntu.com
/4019-2/
vendor-advisory
-
sqlite.org
/src/info/940f2adc8541a838
vendor-advisory
-
seclists.org
/fulldisclosure/2019/Jan/62
mailing-list, third-party-advisory
-
seclists.org
/fulldisclosure/2019/Jan/64
mailing-list, third-party-advisory
-
seclists.org
/fulldisclosure/2019/Jan/66
mailing-list, third-party-advisory
-
seclists.org
/fulldisclosure/2019/Jan/67
mailing-list, third-party-advisory
-
seclists.org
/fulldisclosure/2019/Jan/68
mailing-list, third-party-advisory
-
seclists.org
/fulldisclosure/2019/Jan/69
mailing-list, third-party-advisory
-
securityfocus.com
/bid/106698
third-party-advisory, vdb-entry
-
seclists.org
/bugtraq/2019/Jan/28
mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Jan/29
mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Jan/31
mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Jan/32
mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Jan/33
mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Jan/39
mailing-list, third-party-advisory
-
support.apple.com
/kb/HT209443
third-party-advisory
-
support.apple.com
/kb/HT209446
third-party-advisory
-
support.apple.com
/kb/HT209447
third-party-advisory
-
support.apple.com
/kb/HT209448
third-party-advisory
-
support.apple.com
/kb/HT209450
third-party-advisory
-
support.apple.com
/kb/HT209451
third-party-advisory
-
security.netapp.com
/advisory/ntap-20190502-0004/
third-party-advisory
- oracle.com /security-alerts/cpuapr2020.html
-
lists.debian.org
/debian-lts-announce/2020/08/msg00037.html
mailing-list
- kc.mcafee.com /corporate/index?page=content&id=SB10365
Sources
- CVE List CVE-2018-20506
- NVD CVE-2018-20506
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.