Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-45346

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-45346
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:12 UTC · Revision 1

Source evidence

CVE-2021-45346

core-osv · Original source

Published 14 Feb 2022, 19:15 UTC

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.

osv:CVE-2021-45346
Complete source record
{
  "id": "47ba18fddc3018fd955549950a8961b17ea0997c1ad2afbe10cbe1d994ea5afa",
  "url": "https://osv.dev/vulnerability/CVE-2021-45346",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-45346",
    "summary": "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.",
    "evidence": "osv:CVE-2021-45346",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-45346",
      "aliases": [
        "BIT-sqlite-2021-45346",
        "CVE-2021-45346"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sqlite/sqlite",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a7eaa518f83d1ff4660b720038ccba45c1f4c758"
                },
                {
                  "last_affected": "315e3122c37b2dbe0fb7b3a4c3b9b6961e3bda96"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sqlite:sqlite:3.35.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.35.1"
                      },
                      {
                        "last_affected": "3.35.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:sqlite:sqlite:3.37.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.37.0"
                      },
                      {
                        "last_affected": "3.37.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.35.1",
            "3.37.0",
            "version-3.37.0",
            "version-3.36.0",
            "same-as-3.35.3",
            "version-3.35.2",
            "version-3.35.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45346.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:15.180325668Z",
      "provider": "osv",
      "references": [
        "https://security.netapp.com/advisory/ntap-20220303-0001/",
        "https://sqlite.org/forum/forumpost/056d557c2f8c452ed5",
        "https://sqlite.org/forum/forumpost/53de8864ba114bf6",
        "https://www.sqlite.org/cves.html#status_of_recent_sqlite_cves",
        "https://github.com/guyinatuxedo/sqlite3_record_leaking"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-45346",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429114,
  "published_at": "2022-02-14T19:15:07.793+00:00"
}