# CVE-2021-20227: A flaw was found in SQLite's SELECT query functionality (src/select.c).

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2021-03-23T00:00:00.000Z
- Modified: 2026-10-14T11:16:51.263Z
- Also known as: BIT-SQLITE-2021-20227
- Weaknesses: CWE-416
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- sqlite: sqlite 3.34.1
- sqlite sqlite: from 3.33.0 before 3.34.1
- oracle communications_network_charging_and_control: from 12.0.1.0 up to 12.0.4.0.0; 6.0.1
- oracle enterprise_manager_for_oracle_database: 13.4.0.0
- oracle jd_edwards_enterpriseone_tools: before 9.2.6.0
- oracle mysql_workbench: up to 8.0.26
- oracle outside_in_technology: 8.5.5
- oracle zfs_storage_appliance_kit: 8.8
- sqlite (Bitnami): from 3.33.0 before 3.34.1

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1924886> (advisory, issue-tracking, third-party-advisory)
- <https://www.sqlite.org/releaselog/3_34_1.html> (advisory, release-notes, vendor-advisory)
- <https://security.gentoo.org/glsa/202103-04> (advisory, third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpuApr2021.html> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210423-0010/> (advisory, third-party-advisory)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (advisory, patch, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (advisory, patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202210-40> (advisory, third-party-advisory, vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20227> (web)

## Sources

- CVE List: [CVE-2021-20227](https://www.cve.org/CVERecord?id=CVE-2021-20227), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2021-20227](https://nvd.nist.gov/vuln/detail/CVE-2021-20227), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-SQLITE-2021-20227](https://osv.dev/vulnerability/BIT-SQLITE-2021-20227), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-20227 · Whole record: https://cve.day/CVE-2021-20227.json · Rebuilt by cve.day 2026-11-25T22:58:00.394Z
