Skip to main content
Public proof of conceptFix available

CVE-2025-6965

Integer Truncation on SQLite

A public proof of concept exists; no exploitation attested.

  • Published2025-07-15
  • Fixed in3.50.2
  • WeaknessCWE-197

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2025-07-1513:44CVE publishedCNA
  2. 2025-07-1514:15CVE publishedNVD
  3. 2026-04-08Exploit-DB entryExploit-DB
  4. 2026-12-0204:55EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD · OSV
Sqlite
BranchAffectedFixed in
3.50< 3.50.23.50.2
sqlite
BranchAffectedFixed in
—all versionsno fix published
Apple ipados
BranchAffectedFixed in
26.0< 26.0.026.0.0

10 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As Google, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-07-15

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • jellyfinWolfiall versions · fixed in 12.0-r0
  • jellyfinMinimOSall versions · fixed in 12.0-r0
  • jellyfinChainguardall versions · fixed in 12.0-r0
  • lemonRed Hat:rhel_tus:8.8::appstreamall versions · fixed in 0:3.26.0-18.el8_8.2and 6 other packages
  • lemonRed Hat:rhel_tus:8.6::appstreamall versions · fixed in 0:3.26.0-16.el8_6.3and 6 other packages
  • lemonRed Hat:rhel_eus_long_life:8.4::appstreamall versions · fixed in 0:3.26.0-13.el8_4.1and 6 other packages
  • lemonRed Hat:rhel_e4s:8.8::appstreamall versions · fixed in 0:3.26.0-18.el8_8.2and 6 other packages
  • lemonRed Hat:rhel_e4s:8.6::appstreamall versions · fixed in 0:3.26.0-16.el8_6.3and 6 other packages

177 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-6965 Red Hat Product Security1,155 products fixed · 8 known affected

    sqlite: Integer Truncation in SQLite

    lemon as a component of Red Hat Enterprise Linux 6 · sqlite as a component of Red Hat Enterprise Linux 6 · sqlite-devel as a component of Red Hat Enterprise Linux 6 · +5 more

  • ICSA-26-295-15 CISA1 known affected

    Siemens RUGGEDCOM CROSSBOW Station Access Controller

    RUGGEDCOM CROSSBOW Station Access Controller (SAC) < V6.0

  • SSA-765416 Siemens ProductCERT1 known affected

    SSA-765416: Multiple SQLite Vulnerabilities in RUGGEDCOM CROSSBOW Station Access Controller

    RUGGEDCOM CROSSBOW Station Access Controller (SAC) < V6.0

  • RHSA-2026:67857 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.15.69 bug fix and security update

  • RHSA-2026:62549 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.16.70 bug fix and security update

  • ICSA-26-111-08 CISA1 known affected

    Siemens RUGGEDCOM CROSSBOW Station Access Controller (SAC)

    RUGGEDCOM CROSSBOW Station Access Controller (SAC)

50 more advisories

Full record on NVD

Fix

  1. Update Sqlite to 3.50.2
  2. Vendor fix CISA ICSA-26-295-15 · 1 productUpdate to V6.0 or later version
  3. Vendor fix Siemens ProductCERT SSA-765416 · 1 productUpdate to V6.0 or later version
  4. Vendor fix Red Hat Product Security RHSA-2026:67857 · 4 productsFor OpenShift Container Platform 4.15 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  5. Vendor fix Red Hat Product Security RHSA-2026:62549 · 4 productsFor OpenShift Container Platform 4.16 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  6. Vendor fix CISA ICSA-26-111-08 · 1 productUpdate to V5.8 or later version
  7. Vendor fix Siemens ProductCERT SSA-225816 · 1 productUpdate to V5.8 or later version

Advisories and patches

Detection

read 2026-12-04 04:56 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-52499
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L
CVSS 4.0 vector
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
Published
2025-07-15
Last modified
2026-11-03
NVD status
Modified
MSRC title
Integer Truncation on SQLite
GitHub advisory
GHSA-2m69-gcr7-jv3q

Frequently asked questions

What is CVE-2025-6965?

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.

Is CVE-2025-6965 actively exploited?

A proof-of-concept exploit exists for CVE-2025-6965, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-6965?

CVE-2025-6965 has a CVSS v3 base score of 7.7 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L.

Running sqlite? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record