cve.bz

CVE-2020-15358 Out-of-bounds Write

5.5 mediumExploit referenceEPSS 1.0%Fix available

Medium (5.5). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15358 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15358?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15358?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15358 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2020-15358

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2020-15358](https://cve.bz/cve/badge/CVE-2020-15358.svg)](https://cve.bz/cve/CVE-2020-15358)

HTML:

<a href="https://cve.bz/cve/CVE-2020-15358"><img src="https://cve.bz/cve/badge/CVE-2020-15358.svg" alt="CVE-2020-15358"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sqlite:sqlitebefore 3.32.3
canonical:ubuntu_linux20.04
apple:icloudbefore 7.21
apple:ipadosbefore 14.0
apple:iphone_osbefore 14.0
apple:macosbefore 11.0.1
apple:tvosbefore 14.0
apple:watchosbefore 7.0
oracle:communications_cloud_native_core_policy1.14.0
oracle:communications_messaging_server8.1
oracle:communications_network_charging_and_control6.0.1
oracle:communications_network_charging_and_control12.0.2
oracle:enterprise_manager_ops_center12.4.0.0
oracle:hyperion_infrastructure_technology11.1.2.4
oracle:mysqlthrough 8.0.22
oracle:outside_in_technology8.5.4
oracle:outside_in_technology8.5.5
siemens:sinec_infrastructure_network_servicesbefore 1.0.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14sqlite33.32.3-1DEBIAN-CVE-2020-15358
Ubuntu20.04:LTSsqlite33.31.1-4ubuntu0.2UBUNTU-CVE-2020-15358 USN-4438-1
Red Hatenterprise_linux:8::appstreamlemon, lemon-debuginfo, sqlite-debuginfo and 4 more0:3.26.0-13.el8RHSA-2021:1581
Red Hatenterprise_linux:8::baseossqlite, sqlite-doc, sqlite-libs and 7 more0:3.26.0-13.el8RHSA-2021:1581
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 13 moresqlite33.36.0-3.12.1SUSE-SU-2021:2320-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moresqlite33.36.0-9.18.1SUSE-SU-2021:3215-1
openSUSELeap 15.2sqlite33.36.0-lp152.4.3.1openSUSE-SU-2021:1058-1
openSUSELeap 15.3sqlite33.36.0-3.12.1openSUSE-SU-2021:2320-1
Rocky Linux8sqlite0:3.26.0-13.el8RLSA-2021:1581
Alpinev3.12sqlite3.32.1-r1ALPINE-CVE-2020-15358

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw did not affect the versions of SQLite as shipped with Red Hat Enterprise Linux 7 as they did not include support for the WHERE-clause constant propagation optimization. This optimization was introduced in a later version of the package (3.25.0).

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8sqlite-0:3.26.0-13.el8Fixed 2021-05-18RHSA-2021:1581
Red Hat Enterprise Linux 5sqliteNot affected
Red Hat Enterprise Linux 6sqliteNot affected
Red Hat Enterprise Linux 7sqliteNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15358.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-141-03ABB B&R Automation Studio2026-02-18EnergyABB B&R Automation Studio <6.5ABB B&R Automation Studio 6.5
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-22-069-09Siemens SINEC INS2022-03-08MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON