# CVE-2025-6965: Integer Truncation on SQLite

- Severity: High 7.2 (CVSS:4.0, scored by Google) `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/S:N/AU:N/R:U/V:D/RE:L/U:Green`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 60.5%, higher than 99% of CVEs (2026-12-01)
- Published: 2025-07-15T13:44:00.784Z
- Modified: 2026-11-03T23:17:22.707Z
- Also known as: GHSA-2m69-gcr7-jv3q, BIT-SQLITE-2025-6965
- Weaknesses: CWE-197
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Google

## 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.

(As written by CVE List.)

## Affected

- expr.c: before 3.50.2
- SQLitePCLRaw.lib.e_sqlite3 (NuGet): up to 2.1.11
- SQLitePCLRaw.lib.e_sqlite3.android (NuGet): up to 2.1.11
- SQLitePCLRaw.lib.e_sqlite3.ios (NuGet): up to 2.1.11
- sqlite sqlite: before 3.50.2
- apple ipados: before 26.0.0
- apple iphone_os: before 26.0.0
- apple macos: before 26.0.0
- apple tvos: before 26.0.0
- apple visionos: before 26.0.0
- apple watchos: before 26.0.0
- siemens ruggedcom_crossbow: before 5.8
- siemens sidis_prime: before 4.0.800
- sqlite (Bitnami): all versions

## Every score

- Google: CVSS:4.0 7.2 High `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/S:N/AU:N/R:U/V:D/RE:L/U:Green`
- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.sqlite.org/src/info/5508b56fd24016c13981ec280ecdd833007c9d8dd595edb295b984c2b487b5c8> (fix, patch, web)
- <http://seclists.org/fulldisclosure/2025/Sep/57> (advisory, third-party-advisory, web)
- <http://seclists.org/fulldisclosure/2025/Sep/56> (advisory, third-party-advisory, web)
- <http://seclists.org/fulldisclosure/2025/Sep/53> (advisory, third-party-advisory, web)
- <http://seclists.org/fulldisclosure/2025/Sep/58> (advisory, third-party-advisory, web)
- <http://seclists.org/fulldisclosure/2025/Sep/49> (advisory, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2025/09/06/1> (advisory, third-party-advisory, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-485750.html> (third-party-advisory, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-225816.html> (third-party-advisory, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-765416.html>
- <https://github.com/google/security-research/security/advisories/GHSA-qj7j-3jp8-8ccv> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6965> (advisory, web)
- <https://github.com/github/advisory-database/pull/7675> (web)
- <https://github.com/ericsink/SQLitePCL.raw> (package)

## Sources

- CVE List: [CVE-2025-6965](https://www.cve.org/CVERecord?id=CVE-2025-6965), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-2m69-gcr7-jv3q](https://github.com/advisories/GHSA-2m69-gcr7-jv3q), CC-BY-4.0, modified 2026-06-18
- NVD: [CVE-2025-6965](https://nvd.nist.gov/vuln/detail/CVE-2025-6965), Public domain, modified 2026-11-03
- Bitnami Vulnerability Database: [BIT-SQLITE-2025-6965](https://osv.dev/vulnerability/BIT-SQLITE-2025-6965), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2025-6965 · Whole record: https://cve.day/CVE-2025-6965.json · Rebuilt by cve.day 2026-11-25T22:59:01.266Z
