Skip to content
Heist/ feed
Back to feed
Medium

SQLite integer overflow in key info allocation may lead to information disclosure.

Type: advisorySources: OSV

An integer overflow in the sqlite3KeyInfoFromExprList function in SQLite versions 3.39.2 through 3.41.1 allows an attacker with the ability to execute arbitrary SQL statements to cause a denial of service or disclose sensitive information from process memory via a crafted SELECT statement with a large number of expressions in the ORDER BY clause.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-7458
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:44 UTC · Revision 1

Source evidence

SQLite integer overflow in key info allocation may lead to information disclosure.

core-osv · Original source

Published 29 Jul 2025, 12:43 UTC

An integer overflow in the sqlite3KeyInfoFromExprList function in SQLite versions 3.39.2 through 3.41.1 allows an attacker with the ability to execute arbitrary SQL statements to cause a denial of service or disclose sensitive information from process memory via a crafted SELECT statement with a large number of expressions in the ORDER BY clause.

osv:CVE-2025-7458
Complete source record
{
  "id": "72781b8b7f504c10f89c9724f14e06f701798d74b20ea369c01e569f44816787",
  "url": "https://osv.dev/vulnerability/CVE-2025-7458",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SQLite integer overflow in key info allocation may lead to information disclosure.",
    "summary": "An integer overflow in the sqlite3KeyInfoFromExprList function in SQLite versions 3.39.2 through 3.41.1 allows an attacker with the ability to execute arbitrary SQL statements to cause a denial of service or disclose sensitive information from process memory via a crafted SELECT statement with a large number of expressions in the ORDER BY clause.",
    "evidence": "osv:CVE-2025-7458",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-7458",
      "aliases": [
        "BIT-sqlite-2025-7458",
        "CVE-2025-7458"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sqlite/sqlite",
              "type": "GIT",
              "events": [
                {
                  "introduced": "202b2a7b54ea2dd13a8a5adfd75523abe4dcf17f"
                },
                {
                  "fixed": "e671c4fbc057f8b1505655126eaf90640149ced6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.39.2"
                      },
                      {
                        "fixed": "3.41.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7458.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.860635456Z",
      "provider": "osv",
      "references": [
        "https://sqlite.org/forum/forumpost/16ce2bb7a639e29b",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7458.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-7458",
        "https://sqlite.org/src/info/12ad822d9b827777"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-190"
        ],
        "cna_assigner": "Google",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.39.2"
                  },
                  {
                    "fixed": "3.41.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7458.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-7458",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489286,
  "published_at": "2025-07-29T12:43:19.427+00:00"
}