Skip to content
Fencer Vulns
high 8.1

CVE-2018-20346 in the critical feed json

SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries t…

published 2018-12-21 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-12904

cvss
8.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
10.2%
EPSS 10.2% chance of exploitation in 30 days, percentile 95%
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 that occur 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), aka Magellan.

Patch / fix

  • sqlite sqlite 3.25.3
  • google chrome 71.0.3578.80
  • sqlite3 Debian 14, Debian 13, Debian 12 3.25.3-1
  • chromium Debian 14, Debian 13, Debian 12 71.0.3578.80-1

debian advisories DEBIAN-CVE-2018-20346

  • 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-20346

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 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +11 more 3.36.0-9.18.1
  • 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 Studio Onsite 1.3, SLES for SAP 11 SP4, SLES 11 SP4 +2 more 3.7.6.3-1.4.7.3.1
  • sqlite3 SLE Module for Basesystem 15 3.27.2-3.3.2
  • sqlite3 SLES 12-LTSS 3.8.3.1-2.7.1

suse advisories SUSE-SU-2021:3215-1SUSE-SU-2019:0973-1SUSE-SU-2019:0913-1SUSE-SU-2019:14003-1SUSE-SU-2019:0788-1

  • sqlite3 openSUSE Leap 15.0 3.27.2-lp150.2.3.1

opensuse advisories openSUSE-SU-2019:1159-1

  • sqlite Alpine 3.8, Alpine 3.7, Alpine 3.6 3.25.3-r0

alpine advisories ALPINE-CVE-2018-20346

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org 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-38458

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

  • sqlite Arch Linux 3.26.0-1

arch linux advisories AVG-840

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

10.23% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • worthdoingbadly.com https://worthdoingbadly.com/sqlitebug/ referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/zhuowei/worthdoingbadly.com/blob/master/_posts/2018-12-14-sqlitebug.html referenced PoC, tagged "exploit" by a source, unverified

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
Technology feeds

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.