CVE-2018-20505

Exp

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).

Published: 2019-04-03 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-20505 is rated High Exploit Risk (77.1/100): CVSS High severity, with high exploitation likelihood (EPSS 6.77%, 93th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-20505

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-20505

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 7.23% 6.77% -0.46%
2 2026-06-11 8.95% 7.23% -1.72%
3 2026-05-29 8.95%

Full EPSS history (25 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-20505

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2018-20505

OS Trackers for CVE-2018-20505

vendor priority summary link
debian not yet assigned CVE-2018-20505 not yet assigned priority: Debian including 1 source packages (sqlite3), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-20505
redhat high https://access.redhat.com/security/cve/CVE-2018-20505
suse low CVE-2018-20505 severity low: SUSE including 9 source package names (libsqlite3-0, libsqlite3-0-32bit, …), 169 product×package rows across 66 product lines (Magnum Orchestration 7, SLES for SAP Applications 11 SP2, … (66 product lines)): Known Not Affected 169. https://www.suse.com/security/cve/CVE-2018-20505/
ubuntu low CVE-2018-20505 low priority: Ubuntu including 1 source packages (sqlite3), 6 status rows across 6 suites (bionic, cosmic, disco, trusty, upstream, xenial): not-affected 3, released 3. https://ubuntu.com/security/CVE-2018-20505

Affected software / configurations for CVE-2018-20505

Vendor Product Version Raw CPE
sqlite sqlite <= 3.25.2 cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*
apple iphone_os < 12.1.3 cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*
apple mac_os_x < 10.14.2 cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
apple watchos < 5.1.3 cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:*
apple icloud < 7.10 cpe:2.3:a:apple:icloud:*:*:*:*:*:*:*:*
apple itunes < 12.9.3 cpe:2.3:a:apple:itunes:*:*:*:*:*:*:*:*

References for CVE-2018-20505

URL Tags
http://seclists.org/fulldisclosure/2019/Jan/62 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/64 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/66 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/67 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/68 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2019/Jan/69 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/106698 Third Party Advisory VDB Entry
https://seclists.org/bugtraq/2019/Jan/28 Mailing List Third Party Advisory
https://seclists.org/bugtraq/2019/Jan/29 Mailing List Third Party Advisory
https://seclists.org/bugtraq/2019/Jan/31 Mailing List Third Party Advisory
https://seclists.org/bugtraq/2019/Jan/32 Mailing List Third Party Advisory
https://seclists.org/bugtraq/2019/Jan/33 Mailing List Third Party Advisory
https://seclists.org/bugtraq/2019/Jan/39 Mailing List Third Party Advisory
https://security.netapp.com/advisory/ntap-20190502-0004/ Third Party Advisory
https://sqlite.org/src/info/1a84668dcfdebaf12415d Exploit Vendor Advisory
https://support.apple.com/kb/HT209443 Vendor Advisory
https://support.apple.com/kb/HT209446 Vendor Advisory
https://support.apple.com/kb/HT209447 Vendor Advisory
https://support.apple.com/kb/HT209448 Vendor Advisory
https://support.apple.com/kb/HT209450 Vendor Advisory
https://support.apple.com/kb/HT209451 Vendor Advisory
https://usn.ubuntu.com/4019-1/
cvelogic Threat Intelligence