
CVE catalog
CVE-2020-15358
sqlite3: CVE-2020-15358
- Severity
- Medium · CVSS 6.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.02% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | sqlite3 | sid | 3.53.4-2 | fixed |
| Debian | sqlite3 | forky | 3.53.4-2 | fixed |
| Debian | sqlite3 | trixie | 3.46.1-7+deb13u2 | fixed |
| Debian | sqlite3 | bookworm | 3.40.1-2+deb12u2 | fixed |
| Cpe | sqlite | Not reported | 3.32.3 | fixed |
| Cpe | ubuntu_linux | Not reported | Not reported | unknown |
| Cpe | icloud | Not reported | 7.21 | fixed |
| Cpe | ipados | Not reported | 14.0 | fixed |
| Cpe | iphone_os | Not reported | 14.0 | fixed |
| Cpe | macos | Not reported | 11.0.1 | fixed |
| Cpe | tvos | Not reported | 14.0 | fixed |
| Cpe | watchos | Not reported | 7.0 | fixed |
| Cpe | communications_cloud_native_core_policy | Not reported | Not reported | unknown |
| Cpe | communications_messaging_server | Not reported | Not reported | unknown |
| Cpe | communications_network_charging_and_control | Not reported | Not reported | unknown |
| Cpe | enterprise_manager_ops_center | Not reported | Not reported | unknown |
| Cpe | hyperion_infrastructure_technology | Not reported | Not reported | unknown |
| Cpe | mysql | Not reported | Not reported | unknown |
| Cpe | outside_in_technology | Not reported | Not reported | unknown |
| Cpe | sinec_infrastructure_network_services | Not reported | 1.0.1.1 | fixed |
| Android | platform/external/sqlite | Not reported | 12 | vulnerable |
| Android | platform/external/sqlite | Not reported | 12:2021-10-01 | fixed |
| Bitnami | sqlite | Not reported | 3.32.3 | fixed |
| Alpine | sqlite | 3.12 | 3.32.1-r1 | fixed |
| Ubuntu | sqlite3 | 20.04 | 3.29.0-2 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.30.1-1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.30.1-1ubuntu1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-1ubuntu1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-3 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4ubuntu0.1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4ubuntu0.2 | fixed |
| Ubuntu | sqlite3 | 20.04 | 3.29.0-2 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.30.1-1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.30.1-1ubuntu1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-1ubuntu1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-3 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4ubuntu0.1 | vulnerable |
| Ubuntu | sqlite3 | 20.04 | 3.31.1-4ubuntu0.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sqlite3 | source | sid | 3.32.3-1 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | forky | 3.32.3-1 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | trixie | 3.32.3-1 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | bookworm | 3.32.3-1 | not yet assigned | Not reported | Not reported |
| Cpe | sqlite | cpe | Not reported | 3.32.3 | Not reported | NVD-CVE-2020-15358 | Not reported |
| Cpe | icloud | cpe | Not reported | 7.21 | Not reported | NVD-CVE-2020-15358 | Not reported |
| Cpe | ipados | cpe | Not reported | 14.0 | Not reported | NVD-CVE-2020-15358 | Not reported |
| Cpe | iphone_os | cpe | Not reported | 14.0 | Not reported | NVD-CVE-2020-15358 | Not reported |
| Cpe | macos | cpe | Not reported | 11.0.1 | Not reported | NVD-CVE-2020-15358 | Not reported |
| Cpe | tvos | cpe | Not reported | 14.0 | Not reported | NVD-CVE-2020-15358 | Not reported |
| Cpe | watchos | cpe | Not reported | 7.0 | Not reported | NVD-CVE-2020-15358 | Not reported |
| Cpe | sinec_infrastructure_network_services | cpe | Not reported | 1.0.1.1 | Not reported | NVD-CVE-2020-15358 | Not reported |
| Android | platform/external/sqlite | Android | Not reported | 12:2021-10-01 | Not reported | ASB-A-192605364 | Not reported |
| Bitnami | sqlite | Bitnami | Not reported | 3.32.3 | Not reported | BIT-SQLITE-2020-15358 | Not reported |
| Alpine | sqlite | apk | 3.12 | 3.32.1-r1 | Not reported | ALPINE-CVE-2020-15358 | Not reported |
| Ubuntu | sqlite3 | deb | 20.04 | 3.31.1-4ubuntu0.2 | Not reported | UBUNTU-CVE-2020-15358 | Not reported |
| Ubuntu | sqlite3 | deb | 20.04 | 3.31.1-4ubuntu0.2 | Not reported | USN-4438-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [lemon]Unknown
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
- [libsqlite3-0]Unknown
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
- [libsqlite3-dev]Unknown
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
- [libsqlite3-tcl]Unknown
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
- [sqlite3]Unknown
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
- [sqlite3-doc]Unknown
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· all · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· all · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
- [sqlite3-tools]Unknown
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.32.3-1dsa · sqlite3 · debian · bookworm
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-389290.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_1581.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2020-15358]
- [https://osv.dev/vulnerability/ALPINE-CVE-2020-15358]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-15358]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-15358]
- [https://osv.dev/vulnerability/USN-4438-1]
- [https://security-tracker.debian.org/tracker/CVE-2020-15358]
- [https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-15358.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2025-0227.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]