
CVE catalog
CVE-2021-20227
sqlite3: CVE-2021-20227
- Severity
- Medium · CVSS 6.1
CVSS: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.
| 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.34.1 | fixed |
| Cpe | communications_network_charging_and_control | Not reported | Not reported | unknown |
| Cpe | enterprise_manager_for_oracle_database | Not reported | Not reported | unknown |
| Cpe | jd_edwards_enterpriseone_tools | Not reported | 9.2.6.0 | fixed |
| Cpe | mysql_workbench | Not reported | Not reported | unknown |
| Cpe | outside_in_technology | Not reported | Not reported | unknown |
| Cpe | zfs_storage_appliance_kit | Not reported | Not reported | unknown |
| Alpine | sqlite | 3.12 | 3.32.1-r1 | fixed |
| Alpine | sqlite | 3.14 | 3.34.1-r0 | fixed |
| Alpine | sqlite | 3.15 | 3.34.1-r0 | fixed |
| Alpine | sqlite | 3.16 | 3.34.1-r0 | fixed |
| Alpine | sqlite | 3.17 | 3.34.1-r0 | fixed |
| Alpine | sqlite | 3.18 | 3.34.1-r0 | fixed |
| Alpine | sqlite | 3.19 | 3.34.1-r0 | fixed |
| Alpine | sqlite | 3.20 | 3.34.1-r0 | fixed |
| Alpine | sqlite | 3.21 | 3.34.1-r0 | fixed |
| Alpine | sqlite | 3.22 | 3.34.1-r0 | fixed |
| Alpine | sqlite | 3.23 | 3.34.1-r0 | fixed |
| Alpine | sqlite | 3.24 | 3.34.1-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sqlite3 | source | sid | 3.34.1-1 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | forky | 3.34.1-1 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | trixie | 3.34.1-1 | not yet assigned | Not reported | Not reported |
| Debian | sqlite3 | source | bookworm | 3.34.1-1 | not yet assigned | Not reported | Not reported |
| Cpe | sqlite | cpe | Not reported | 3.34.1 | Not reported | NVD-CVE-2021-20227 | Not reported |
| Cpe | jd_edwards_enterpriseone_tools | cpe | Not reported | 9.2.6.0 | Not reported | NVD-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.12 | 3.32.1-r1 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.14 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.15 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.16 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.17 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.18 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.19 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.20 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.21 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.22 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.23 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
| Alpine | sqlite | apk | 3.24 | 3.34.1-r0 | Not reported | ALPINE-CVE-2021-20227 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [lemon]Fixed
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
- [libsqlite3-0]Fixed
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
- [libsqlite3-dev]Fixed
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
- [libsqlite3-tcl]Fixed
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
- [sqlite3]Fixed
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
- [sqlite3-doc]Fixed
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· all · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· all · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
- [sqlite3-tools]Fixed
Source package: [sqlite3]
Details (2)
3.40.1-2+deb12u2· amd64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
3.40.1-2+deb12u2· arm64 · bookwormFixed · Fixed:
3.34.1-1dsa · sqlite3 · debian · bookworm
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-398330.json]
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-20227]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-20227]
- [https://security-tracker.debian.org/tracker/CVE-2021-20227]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-20227.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1614.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]