CVE-2020-15358
publishedsqlite: heap-based buffer overflow in multiSelectOrderBy due to mishandling of query-flattener optimization in select.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Alpine Linux | v3.12 | sqlite | Fixed | 3.32.1-r1 | Package fix record |
| Oracle Linux | 8 | lemonaarch64 | Advisory build | 0:3.26.0-13.el8 | ELSA-2021-1581 |
| Red Hat Enterprise Linux | RHEL-8 | lemonaarch64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| SUSE / openSUSE | SLE-12-SP2 | libsqlite3-0x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Oracle Linux | 8 | lemonx86_64 | Advisory build | 0:3.26.0-13.el8 | ELSA-2021-1581 |
| Oracle Linux | 8 | sqliteaarch64 | Advisory build | 0:3.26.0-13.el8 | ELSA-2021-1581 |
| Oracle Linux | 8 | sqlitex86_64 | Advisory build | 0:3.26.0-13.el8 | ELSA-2021-1581 |
| Oracle Linux | 8 | sqlite-develaarch64 | Advisory build | 0:3.26.0-13.el8 | ELSA-2021-1581 |
| Oracle Linux | 8 | sqlite-develx86_64 | Advisory build | 0:3.26.0-13.el8 | ELSA-2021-1581 |
| Oracle Linux | 8 | sqlite-docaarch64 | Advisory build | 0:3.26.0-13.el8 | ELSA-2021-1581 |
| Oracle Linux | 8 | sqlite-docx86_64 | Advisory build | 0:3.26.0-13.el8 | ELSA-2021-1581 |
| Oracle Linux | 8 | sqlite-libsaarch64 | Advisory build | 0:3.26.0-13.el8 | ELSA-2021-1581 |
| Oracle Linux | 8 | sqlite-libsx86_64 | Advisory build | 0:3.26.0-13.el8 | ELSA-2021-1581 |
| Red Hat Enterprise Linux | RHEL-8 | lemonppc64le | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | lemons390x | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | lemonx86_64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | lemon-debuginfoaarch64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | lemon-debuginfoi686 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | lemon-debuginfoppc64le | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | lemon-debuginfos390x | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | lemon-debuginfox86_64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqliteaarch64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlitei686 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqliteppc64le | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlites390x | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlitesrc | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlitex86_64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-analyzer-debuginfoaarch64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-analyzer-debuginfoi686 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-analyzer-debuginfoppc64le | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-analyzer-debuginfos390x | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-analyzer-debuginfox86_64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debuginfoaarch64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debuginfoi686 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debuginfoppc64le | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debuginfos390x | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debuginfox86_64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debugsourceaarch64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debugsourcei686 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debugsourceppc64le | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debugsources390x | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-debugsourcex86_64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-develaarch64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-develi686 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-develppc64le | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-devels390x | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-develx86_64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-docnoarch | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libsaarch64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libsi686 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libsppc64le | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libss390x | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libsx86_64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libs-debuginfoaarch64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libs-debuginfoi686 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libs-debuginfoppc64le | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libs-debuginfos390x | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-libs-debuginfox86_64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-tcl-debuginfoaarch64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-tcl-debuginfoi686 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-tcl-debuginfoppc64le | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-tcl-debuginfos390x | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| Red Hat Enterprise Linux | RHEL-8 | sqlite-tcl-debuginfox86_64 | Advisory build | 3.26.0-13.el8 | RHSA-2021:1581 |
| SUSE / openSUSE | SLE-12-SP2 | libsqlite3-0-32bitx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP2 | sqlite3x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP2 | sqlite3-develx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0aarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0ppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0s390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0-32bits390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | libsqlite3-0-32bitx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3aarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3ppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3s390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3-develaarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3-develppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3-devels390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP3 | sqlite3-develx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | libsqlite3-0aarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | libsqlite3-0ppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | libsqlite3-0s390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | libsqlite3-0x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | libsqlite3-0-32bits390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | libsqlite3-0-32bitx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | sqlite3aarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | sqlite3ppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | sqlite3s390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | sqlite3x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | sqlite3-develaarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | sqlite3-develppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | sqlite3-devels390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP4 | sqlite3-develx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsqlite3-0aarch64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsqlite3-0ppc64le | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsqlite3-0s390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsqlite3-0x86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsqlite3-0-32bits390x | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsqlite3-0-32bitx86_64 | Advisory build | 3.36.0-9.18.1 | SUSE-SU-2021:3215-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- n/a
References
24- 20201215 APPLE-SA-2020-12-14-4 Additional information for APPLE-SA-2020-11-13-1 macOS Big Sur 11.0.1 http://seclists.org/fulldisclosure/2020/Dec/32
- 20201115 APPLE-SA-2020-11-13-4 Additional information for APPLE-SA-2020-09-16-2 tvOS 14.0 http://seclists.org/fulldisclosure/2020/Nov/19
- 20201115 APPLE-SA-2020-11-13-3 Additional information for APPLE-SA-2020-09-16-1 iOS 14.0 and iPadOS 14.0 http://seclists.org/fulldisclosure/2020/Nov/20
- 20201115 APPLE-SA-2020-11-13-6 Additional information for APPLE-SA-2020-09-16-4 watchOS 7.0 http://seclists.org/fulldisclosure/2020/Nov/22
- 20210201 APPLE-SA-2021-02-01-1 macOS Big Sur 11.2, Security Update 2021-001 Catalina, Security Update 2021-001 Mojave http://seclists.org/fulldisclosure/2021/Feb/14
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- GLSA-202007-26 https://security.gentoo.org/glsa/202007-26
- https://security.netapp.com/advisory/ntap-20200709-0001/
- https://support.apple.com/kb/HT211843
- https://support.apple.com/kb/HT211844
- https://support.apple.com/kb/HT211847
- https://support.apple.com/kb/HT211850
- https://support.apple.com/kb/HT211931
- https://support.apple.com/kb/HT212147
- USN-4438-1 https://usn.ubuntu.com/4438-1/
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.sqlite.org/src/info/10fa79d00f8091e5
- https://www.sqlite.org/src/timeline?p=version-3.32.3&bt=version-3.32.2
- https://www.sqlite.org/src/tktview?name=8f157e8010
Provider assertions
3mitre · cna
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 252409eba0d109385a108f13686d8d5e2928a46460c8b481b351ae3af7815371
- Ingested
- 14 Oct 2026, 09:52:31 UTC
- Source record
- Official CVE record