CVE catalog

CVE-2021-20227

sqlite3: CVE-2021-20227

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.65% · Oct 25, 2026

A flaw was found in SQLite's SELECT query functionality (src/select.c). This flaw allows an attacker who is capable of running SQL queries locally on the SQLite database to cause a denial of service or possible code execution by triggering a use-after-free. The highest threat from this vulnerability is to system availability.

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.34.1fixed
Cpecommunications_network_charging_and_controlNot reportedNot reportedunknown
Cpeenterprise_manager_for_oracle_databaseNot reportedNot reportedunknown
Cpejd_edwards_enterpriseone_toolsNot reported9.2.6.0fixed
Cpemysql_workbenchNot reportedNot reportedunknown
Cpeoutside_in_technologyNot reportedNot reportedunknown
Cpezfs_storage_appliance_kitNot reportedNot reportedunknown
Alpinesqlite3.123.32.1-r1fixed
Alpinesqlite3.143.34.1-r0fixed
Alpinesqlite3.153.34.1-r0fixed
Alpinesqlite3.163.34.1-r0fixed
Alpinesqlite3.173.34.1-r0fixed
Alpinesqlite3.183.34.1-r0fixed
Alpinesqlite3.193.34.1-r0fixed
Alpinesqlite3.203.34.1-r0fixed
Alpinesqlite3.213.34.1-r0fixed
Alpinesqlite3.223.34.1-r0fixed
Alpinesqlite3.233.34.1-r0fixed
Alpinesqlite3.243.34.1-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansqlite3sourcesid3.34.1-1not yet assignedNot reportedNot reported
Debiansqlite3sourceforky3.34.1-1not yet assignedNot reportedNot reported
Debiansqlite3sourcetrixie3.34.1-1not yet assignedNot reportedNot reported
Debiansqlite3sourcebookworm3.34.1-1not yet assignedNot reportedNot reported
CpesqlitecpeNot reported3.34.1Not reportedNVD-CVE-2021-20227Not reported
Cpejd_edwards_enterpriseone_toolscpeNot reported9.2.6.0Not reportedNVD-CVE-2021-20227Not reported
Alpinesqliteapk3.123.32.1-r1Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.143.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.153.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.163.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.173.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.183.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.193.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.203.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.213.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.223.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.233.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported
Alpinesqliteapk3.243.34.1-r0Not reportedALPINE-CVE-2021-20227Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [lemon]Fixed

    Source package: [sqlite3]

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

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

  • Source package: [sqlite3]

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

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

  • Source package: [sqlite3]

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

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

  • Source package: [sqlite3]

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

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

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

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

  • Source package: [sqlite3]

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

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · all · bookworm

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

  • Source package: [sqlite3]

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

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

    • 3.40.1-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 3.34.1-1

      dsa · sqlite3 · debian · bookworm

Observed:

References