Skip to content
Fencer Vulns
high 7.5

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

  • ceph Azure Linux 3.0 18.2.1-1

azure linux advisories AZL-38170

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

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-libs
    not 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.5
    affected: vendor fix, mitigation
  • ABB B&R Automation Studio 6.5
    fixed

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

Sources

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.