Skip to content
Heist/ feed
Back to feed
High

Integer Truncation on SQLite

Type: advisorySources: OSV

There exists a vulnerability in SQLite versions before 3.50.2 where the number of aggregate terms could exceed the number of columns available. This could lead to a memory corruption issue. We recommend upgrading to version 3.50.2 or above.

Products
sqlite
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-6965
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 19:55 UTC · Revision 1

Source evidence

Integer Truncation on SQLite

core-osv · Original source

Published 16 Jul 2025, 18:03 UTC

There exists a vulnerability in SQLite versions before 3.50.2 where the number of aggregate terms could exceed the number of columns available. This could lead to a memory corruption issue. We recommend upgrading to version 3.50.2 or above.

osv:BIT-sqlite-2025-6965

sqlite

Fixed versions: Not specified

Complete source record
{
  "id": "ff099c07cebe36c152cc6c3e1e804b023c4f65b78fd75d6d3922aedd4e1e77f1",
  "url": "https://osv.dev/vulnerability/BIT-sqlite-2025-6965",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Integer Truncation on SQLite",
    "summary": "There exists a vulnerability in SQLite versions before 3.50.2 where the number of aggregate terms could exceed the number of columns available. This could lead to a memory corruption issue. We recommend upgrading to version 3.50.2 or above.",
    "evidence": "osv:BIT-sqlite-2025-6965",
    "products": [
      {
        "name": {
          "value": "sqlite",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "BIT-sqlite-2025-6965",
      "aliases": [
        "BIT-sqlite-2025-6965",
        "CVE-2025-6965",
        "GHSA-2m69-gcr7-jv3q"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "sqlite",
            "purl": "pkg:bitnami/sqlite",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V4",
              "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:U/V:D/RE:L/U:Green"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/sqlite/BIT-sqlite-2025-6965.json"
          }
        }
      ],
      "modified": "2026-10-16T09:45:32.517873542Z",
      "provider": "osv",
      "references": [
        "https://nvd.nist.gov/vuln/detail/CVE-2025-6965",
        "https://www.sqlite.org/src/info/5508b56fd24016c13981ec280ecdd833007c9d8dd595edb295b984c2b487b5c8"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*"
        ],
        "severity": "High"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-6965",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 338500,
  "published_at": "2025-07-16T18:03:02.187+00:00"
}