CVE-2020-15358 json
In SQLite before 3.32.3, select.c mishandles query-flattener optimization, leading to a multiSelectOrderBy heap overflow because of misuse…
published 2020-06-27 6 y ago modified 2026-10-16 24 d ago also BIT-sqlite-2020-15358 , EUVD-2020-7355
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
In SQLite before 3.32.3, select.c mishandles query-flattener optimization, leading to a multiSelectOrderBy heap overflow because of misuse of transitive properties for constant propagation.
Patch / fix
- bitnami sqlite 3.32.3
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- sqlite3 Debian 14, Debian 13, Debian 12 3.32.3-1
debian advisories DEBIAN-CVE-2020-15358
- sqlite3 Ubuntu 20.04 LTS 3.31.1-4ubuntu0.2
ubuntu advisories UBUNTU-CVE-2020-15358
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
- sqlite RHEL 8 3.26.0-13.el8
- lemon RHEL 8 3.26.0-13.el8
- sqlite-libs RHEL 8 3.26.0-13.el8
red hat advisories RHSA-2021:1581
- 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 15 SP1, SLES for SAP 15, SLES 15-LTSS +13 more 3.36.0-3.12.1
suse advisories SUSE-SU-2021:3215-1SUSE-SU-2021:2320-1
- sqlite3 openSUSE Leap 15.2 3.36.0-lp152.4.3.1
- sqlite3 openSUSE Leap 15.3 3.36.0-3.12.1
opensuse advisories openSUSE-SU-2021:1058-1openSUSE-SU-2021:2320-1
- sqlite Rocky Linux 8 3.26.0-13.el8
rocky linux advisories RLSA-2021:1581
- sqlite Alpine 3.12 3.32.1-r1
alpine advisories ALPINE-CVE-2020-15358
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org 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-2020-15358 updated cvss 5.5
sqlite: heap-based buffer overflow in multiSelectOrderBy due to mishandling of query-flattener optimization in select.c
-
Red Hat Enterprise Linux AppStream (v. 8) lemon 3.26.0-13.el8 Red Hat Enterprise Linux BaseOS (v. 8) sqlite 3.26.0-13.el8, sqlite-libs 3.26.0-13.el8fixed: vendor fix RHSA-2021:1581
-
Red Hat Enterprise Linux 5 sqlite Red Hat Enterprise Linux 6 lemon, sqlite, sqlite-tcl Red Hat Enterprise Linux 7 lemon, sqlite, sqlite-tclnot 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 5.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
cisa ICSA-23-348-10 updated cvss 5.5
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-22-069-09 updated cvss 5.5
Siemens SINEC INS
-
Siemens SINEC INS <V1.0.1.1affected: fixed in V1.0.1.1 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
1.02% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sqlite.org https://www.sqlite.org/src/tktview?name=8f157e8010 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | sqlite | <3.32.3 |
3.32.3 |
Affected products
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
- Technology feeds
References
-
sqlite.org
/src/timeline?p=version-3.32.3&bt=version-3.32.2
patch, vendor-advisory, advisory
-
sqlite.org
/src/info/10fa79d00f8091e5
patch, vendor-advisory, advisory
-
oracle.com
/security-alerts/cpuApr2021.html
patch, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpuapr2022.html
patch, third-party-advisory, advisory
-
sqlite.org
/src/tktview?name=8f157e8010
exploit, vendor-advisory, advisory
-
security.gentoo.org
/glsa/202007-26
vendor-advisory, third-party-advisory, advisory
-
usn.ubuntu.com
/4438-1/
vendor-advisory, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpuoct2020.html
third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20200709-0001/
third-party-advisory, advisory
-
seclists.org
/fulldisclosure/2020/Nov/19
mailing-list, third-party-advisory, advisory
-
seclists.org
/fulldisclosure/2020/Nov/20
mailing-list, third-party-advisory, advisory
-
seclists.org
/fulldisclosure/2020/Nov/22
mailing-list, third-party-advisory, advisory
-
seclists.org
/fulldisclosure/2020/Dec/32
mailing-list, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpujan2021.html
third-party-advisory, advisory
-
support.apple.com
/kb/HT211843
third-party-advisory, advisory
-
support.apple.com
/kb/HT211850
third-party-advisory, advisory
-
support.apple.com
/kb/HT211844
third-party-advisory, advisory
-
support.apple.com
/kb/HT211847
third-party-advisory, advisory
-
support.apple.com
/kb/HT211931
third-party-advisory, advisory
-
seclists.org
/fulldisclosure/2021/Feb/14
mailing-list, third-party-advisory, advisory
-
support.apple.com
/kb/HT212147
third-party-advisory, advisory
-
cert-portal.siemens.com
/productcert/pdf/ssa-389290.pdf
third-party-advisory
- cert-portal.siemens.com /productcert/html/ssa-389290.html
- cert-portal.siemens.com /productcert/html/ssa-398330.html
-
nvd.nist.gov
/vuln/detail/CVE-2020-15358
web
Sources
- CVE List CVE-2020-15358
- NVD CVE-2020-15358
- OSV BIT-sqlite-2020-15358
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.