CVE-2020-15358

Exp

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.

Published: 2020-06-27 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2020-15358 is rated Exploit Available (58.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.03%). 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-2020-15358

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

Exploit prediction scoring system (EPSS) score for CVE-2020-15358

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 0.08% 1.03% +0.95%
2 2026-05-24 0.04% 0.08% +0.04%
3 2025-11-21 0.04%

Full EPSS history (14 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2020-15358

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.5 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
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:L)
A normal user session is enough; they don’t have to be admin.
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.
1.8 3.6 [email protected]
2.1 2.0 LOW
AV:L/AC:L/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:L)
Requires local access to the target system.
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.
3.9 2.9 [email protected]

Weakness enumeration for CVE-2020-15358

OS Trackers for CVE-2020-15358

vendor priority summary link
alpine medium CVE-2020-15358: 1 source package rows (sqlite); 24 state rows across 8 repos (3.10-main, 3.11-main, 3.12-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 1, open 23. https://security.alpinelinux.org/vuln/CVE-2020-15358
debian not yet assigned CVE-2020-15358 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-2020-15358
gentoo normal CVE-2020-15358: 1 GLSA(s) (202007-26), 1 atom(s) (dev-db/sqlite); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2020-15358
redhat medium https://access.redhat.com/security/cve/CVE-2020-15358
suse medium CVE-2020-15358 severity moderate: SUSE including 394 source package names (0.1.0:libsqlite3-0-3.36.0-3.12.1, 0.1.75:libsqlite3-0-3.36.0-3.12.1, …), 1139 product×package rows across 570 product lines (Container bci/bci-init, Container bci/bci-sle15-kernel-module-devel, … (570 product lines)): Fixed 843, Known Not Affected 160, Known Affected 136. https://www.suse.com/security/cve/CVE-2020-15358/
ubuntu medium CVE-2020-15358 medium priority: Ubuntu including 2 source packages (sqlite, sqlite3), 12 status rows across 6 suites (bionic, eoan, focal, trusty, upstream, xenial): not-affected 9, ignored 1, needs-triage 1, released 1. https://ubuntu.com/security/CVE-2020-15358

Affected software / configurations for CVE-2020-15358

Vendor Product Version Raw CPE
sqlite sqlite < 3.32.3 cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*
canonical ubuntu_linux 20.04 cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
apple icloud < 7.21 cpe:2.3:a:apple:icloud:*:*:*:*:*:windows:*:*
apple ipados < 14.0 cpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:*
apple iphone_os < 14.0 cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*
apple macos < 11.0.1 cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
apple tvos < 14.0 cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:*
apple watchos < 7.0 cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:*
oracle communications_cloud_native_core_policy 1.14.0 cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*
oracle communications_messaging_server 8.1 cpe:2.3:a:oracle:communications_messaging_server:8.1:*:*:*:*:*:*:*
oracle communications_network_charging_and_control 6.0.1 cpe:2.3:a:oracle:communications_network_charging_and_control:6.0.1:*:*:*:*:*:*:*
oracle communications_network_charging_and_control 12.0.2 cpe:2.3:a:oracle:communications_network_charging_and_control:12.0.2:*:*:*:*:*:*:*
oracle enterprise_manager_ops_center 12.4.0.0 cpe:2.3:a:oracle:enterprise_manager_ops_center:12.4.0.0:*:*:*:*:*:*:*
oracle hyperion_infrastructure_technology 11.1.2.4 cpe:2.3:a:oracle:hyperion_infrastructure_technology:11.1.2.4:*:*:*:*:*:*:*
oracle mysql <= 8.0.22 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
oracle outside_in_technology 8.5.4 cpe:2.3:a:oracle:outside_in_technology:8.5.4:*:*:*:*:*:*:*
oracle outside_in_technology 8.5.5 cpe:2.3:a:oracle:outside_in_technology:8.5.5:*:*:*:*:*:*:*
siemens sinec_infrastructure_network_services < 1.0.1.1 cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*

References for CVE-2020-15358

URL Tags
http://seclists.org/fulldisclosure/2020/Dec/32 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2020/Nov/19 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2020/Nov/20 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2020/Nov/22 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2021/Feb/14 Mailing List Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf Third Party Advisory
https://security.gentoo.org/glsa/202007-26 Third Party Advisory
https://security.netapp.com/advisory/ntap-20200709-0001/ Third Party Advisory
https://support.apple.com/kb/HT211843 Third Party Advisory
https://support.apple.com/kb/HT211844 Third Party Advisory
https://support.apple.com/kb/HT211847 Third Party Advisory
https://support.apple.com/kb/HT211850 Third Party Advisory
https://support.apple.com/kb/HT211931 Third Party Advisory
https://support.apple.com/kb/HT212147 Third Party Advisory
https://usn.ubuntu.com/4438-1/ Third Party Advisory
https://www.oracle.com/security-alerts/cpuApr2021.html Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.html Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2021.html Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2020.html Third Party Advisory
https://www.sqlite.org/src/info/10fa79d00f8091e5 Patch Vendor Advisory
https://www.sqlite.org/src/timeline?p=version-3.32.3&bt=version-3.32.2 Patch Vendor Advisory
https://www.sqlite.org/src/tktview?name=8f157e8010 Exploit Vendor Advisory
cvelogic Threat Intelligence