Vulnerability record · CVE-2021-45346 · published 14 February 2022
CVE-2021-45346: Sqlite memory leak vulnerability
Sqlite · Sqlite
A Memory Leak vulnerability exists in SQLite Project SQLite3 3.35.1 and 3.37.0 via maliciously crafted SQL Queries (made via editing the Database File), it is possible to query a record, and leak subsequent bytes of memory that extend beyond the record, which could let a malicious user obtain sensitive information. NOTE: The developer disputes this as a vulnerability stating that If you give SQLite a corrupted database file and submit a query against the database, it might read parts of the database that you did not intend or expect.
Description
A Memory Leak vulnerability exists in SQLite Project SQLite3 3.35.1 and 3.37.0 via maliciously crafted SQL Queries (made via editing the Database File), it is possible to query a record, and leak subsequent bytes of memory that extend beyond the record, which could let a malicious user obtain sensitive information. NOTE: The developer disputes this as a vulnerability stating that If you give SQLite a corrupted database file and submit a query against the database, it might read parts of the database that you did not intend or expect.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/guyinatuxedo/sqlite3_record_leaking | ExploitThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20220303-0001/ | Third Party Advisory |
| https://sqlite.org/forum/forumpost/056d557c2f8c452ed5 | Vendor Advisory |
| https://sqlite.org/forum/forumpost/53de8864ba114bf6 | Vendor Advisory |
| https://www.sqlite.org/cves.html#status_of_recent_sqlite_cves | Vendor Advisory |
| https://github.com/guyinatuxedo/sqlite3_record_leaking | ExploitThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20220303-0001/ | Third Party Advisory |
| https://sqlite.org/forum/forumpost/056d557c2f8c452ed5 | Vendor Advisory |
| https://sqlite.org/forum/forumpost/53de8864ba114bf6 | Vendor Advisory |
| https://www.sqlite.org/cves.html#status_of_recent_sqlite_cves | Vendor Advisory |
Track CVE-2021-45346 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-45346), CISA KEV, FIRST EPSS (scores of 2026-11-15). This page is refreshed as NVD updates the record.