CVE-2025-6965: There exists a vulnerability in SQLite versions before 3.50.2 where the number of aggregate terms could exceed
CVE-2025-6965 is a high-severity flaw (CVSS 7.7) affecting sqlite, ipados, iphone os. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.7 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 73.5% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-197 |
| Published | 2025-07-15 |
| Last modified | 2026-10-15 |
Last updated 2026-10-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: SQLite 3.50.1 - Heap Overflow
Advisories and coverage
Official advisories
- CISA Alerts and Advisories: Siemens RUGGEDCOM CROSSBOW Station Access Controller 2026-10-22
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-6965?
sqlite: upgrade to 3.50.2; ipados: upgrade to 26.0.0; iphone os: upgrade to 26.0.0. Exact commands for each OS are on this page.
Is CVE-2025-6965 being exploited?
CVE-2025-6965 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-6965 affect?
CVE-2025-6965 affects sqlite, ipados, iphone os. Severity is high (CVSS 7.7). 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.
How urgent is CVE-2025-6965?
Priority 57/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference
Software pages
SQLite vulnerabilities · macOS vulnerabilities · iPadOS vulnerabilities · tvOS vulnerabilities
Related CVEs
- CVE-2025-70873 HIGH 7.5 UPGRADE An information disclosure issue in the zipfileInflate function in the zipfile extension in SQLite v3.51.1 and
- CVE-2025-3277 CRITICAL 9.8 UPGRADE An integer overflow can be triggered in SQLite’s `concat_ws()` function
- CVE-2025-29088 MEDIUM 5.6 DOWNGRADE In SQLite 3.49.0 before 3.49.1, certain argument values to sqlite3_db_config (in the C-language API) can cause
- CVE-2025-29087 LOW 3.2 UPGRADE In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written bey
- CVE-2025-7458 CRITICAL 9.1 UPGRADE An integer overflow in the sqlite3KeyInfoFromExprList function in SQLite versions 3.39.2 through 3.41.1 allows