Skip to content
Fencer Intel
high 8.1

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

  • ceph Azure Linux 3.0 18.2.1-1

azure linux advisories AZL-38485

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

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 Fencer

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-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-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 8.1

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

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

Sources

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.