CVE-2018-20505 json
SQLite 3.25.2, when queries are run on a table with a malformed PRIMARY KEY, allows remote attackers to cause a denial of service (applicat…
published 2019-04-03 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-13059
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.9%
- EPSS 6.9% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
SQLite 3.25.2, when queries are run on a table with a malformed PRIMARY KEY, allows remote attackers to cause a denial of service (application crash) by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases).
Patch / fix
- apple icloud 7.10
- apple itunes 12.9.3
- apple iphone_os 12.1.3
- apple mac_os_x 10.14.2
- apple watchos 5.1.3
- sqlite3 Debian 14, Debian 13, Debian 12 3.25.3-1
debian advisories DEBIAN-CVE-2018-20505
- sqlite3 Ubuntu 18.04 LTS 3.22.0-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2018-20505
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
Vendor 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-20505 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 7.5
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
6.89% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sqlite.org https://sqlite.org/src/info/1a84668dcfdebaf12415d referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
sqlite.org
/src/info/1a84668dcfdebaf12415d
exploit, vendor-advisory
-
usn.ubuntu.com
/4019-1/
vendor-advisory
-
support.apple.com
/kb/HT209443
vendor-advisory
-
support.apple.com
/kb/HT209446
vendor-advisory
-
support.apple.com
/kb/HT209447
vendor-advisory
-
support.apple.com
/kb/HT209448
vendor-advisory
-
support.apple.com
/kb/HT209450
vendor-advisory
-
support.apple.com
/kb/HT209451
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
-
security.netapp.com
/advisory/ntap-20190502-0004/
third-party-advisory
Sources
- CVE List CVE-2018-20505
- NVD CVE-2018-20505
Fencer Vulns 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.