CVE catalog

CVE-2020-15358

sqlite3: CVE-2020-15358

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS: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.

DistributionPackageReleaseVersionStatus
Debiansqlite3sid3.53.4-2fixed
Debiansqlite3forky3.53.4-2fixed
Debiansqlite3trixie3.46.1-7+deb13u2fixed
Debiansqlite3bookworm3.40.1-2+deb12u2fixed
CpesqliteNot reported3.32.3fixed
Cpeubuntu_linuxNot reportedNot reportedunknown
CpeicloudNot reported7.21fixed
CpeipadosNot reported14.0fixed
Cpeiphone_osNot reported14.0fixed
CpemacosNot reported11.0.1fixed
CpetvosNot reported14.0fixed
CpewatchosNot reported7.0fixed
Cpecommunications_cloud_native_core_policyNot reportedNot reportedunknown
Cpecommunications_messaging_serverNot reportedNot reportedunknown
Cpecommunications_network_charging_and_controlNot reportedNot reportedunknown
Cpeenterprise_manager_ops_centerNot reportedNot reportedunknown
Cpehyperion_infrastructure_technologyNot reportedNot reportedunknown
CpemysqlNot reportedNot reportedunknown
Cpeoutside_in_technologyNot reportedNot reportedunknown
Cpesinec_infrastructure_network_servicesNot reported1.0.1.1fixed
Androidplatform/external/sqliteNot reported12vulnerable
Androidplatform/external/sqliteNot reported12:2021-10-01fixed
BitnamisqliteNot reported3.32.3fixed
Alpinesqlite3.123.32.1-r1fixed
Ubuntusqlite320.043.29.0-2vulnerable
Ubuntusqlite320.043.30.1-1vulnerable
Ubuntusqlite320.043.30.1-1ubuntu1vulnerable
Ubuntusqlite320.043.31.1-1ubuntu1vulnerable
Ubuntusqlite320.043.31.1-3vulnerable
Ubuntusqlite320.043.31.1-4vulnerable
Ubuntusqlite320.043.31.1-4ubuntu0.1vulnerable
Ubuntusqlite320.043.31.1-4ubuntu0.2fixed
Ubuntusqlite320.043.29.0-2vulnerable
Ubuntusqlite320.043.30.1-1vulnerable
Ubuntusqlite320.043.30.1-1ubuntu1vulnerable
Ubuntusqlite320.043.31.1-1ubuntu1vulnerable
Ubuntusqlite320.043.31.1-3vulnerable
Ubuntusqlite320.043.31.1-4vulnerable
Ubuntusqlite320.043.31.1-4ubuntu0.1vulnerable
Ubuntusqlite320.043.31.1-4ubuntu0.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansqlite3sourcesid3.32.3-1not yet assignedNot reportedNot reported
Debiansqlite3sourceforky3.32.3-1not yet assignedNot reportedNot reported
Debiansqlite3sourcetrixie3.32.3-1not yet assignedNot reportedNot reported
Debiansqlite3sourcebookworm3.32.3-1not yet assignedNot reportedNot reported
CpesqlitecpeNot reported3.32.3Not reportedNVD-CVE-2020-15358Not reported
CpeicloudcpeNot reported7.21Not reportedNVD-CVE-2020-15358Not reported
CpeipadoscpeNot reported14.0Not reportedNVD-CVE-2020-15358Not reported
Cpeiphone_oscpeNot reported14.0Not reportedNVD-CVE-2020-15358Not reported
CpemacoscpeNot reported11.0.1Not reportedNVD-CVE-2020-15358Not reported
CpetvoscpeNot reported14.0Not reportedNVD-CVE-2020-15358Not reported
CpewatchoscpeNot reported7.0Not reportedNVD-CVE-2020-15358Not reported
Cpesinec_infrastructure_network_servicescpeNot reported1.0.1.1Not reportedNVD-CVE-2020-15358Not reported
Androidplatform/external/sqliteAndroidNot reported12:2021-10-01Not reportedASB-A-192605364Not reported
BitnamisqliteBitnamiNot reported3.32.3Not reportedBIT-SQLITE-2020-15358Not reported
Alpinesqliteapk3.123.32.1-r1Not reportedALPINE-CVE-2020-15358Not reported
Ubuntusqlite3deb20.043.31.1-4ubuntu0.2Not reportedUBUNTU-CVE-2020-15358Not reported
Ubuntusqlite3deb20.043.31.1-4ubuntu0.2Not reportedUSN-4438-1Not 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 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

  • [libsqlite3-0]Unknown

    Source package: [sqlite3]

    Details (2)
    • 3.40.1-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

  • Source package: [sqlite3]

    Details (2)
    • 3.40.1-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

  • Source package: [sqlite3]

    Details (2)
    • 3.40.1-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

  • [sqlite3]Unknown
    Details (2)
    • 3.40.1-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

  • [sqlite3-doc]Unknown

    Source package: [sqlite3]

    Details (2)
    • 3.40.1-2+deb12u2 · all · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · all · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

  • [sqlite3-tools]Unknown

    Source package: [sqlite3]

    Details (2)
    • 3.40.1-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.32.3-1

      dsa · sqlite3 · debian · bookworm

Observed:

References