CVE-2025-6965CWE-197

CVE-2025-6965

High · published July 15, 2025

Patch now

High probability of exploitation

CVSS calls it high at 7.7. It sits in the 99.5th percentile for exploit probability.

CVSS v3.1
7.7
EPSS
73%
Percentile
99.5
In the wild
Unconfirmed
What it is

⚡ It turns out SQLite had a bit of a party problem! In versions before 3.50.2, too many aggregate terms can lead to a wild memory corruption issue. 🎉 Think of it as trying to fit too many guests into a tiny elevator — when the load exceeds the capacity, things can get messy! This could cause the application to crash or behave unpredictably, potentially leading to data loss or corruption. In the worst-case scenario, your application’s reliability could be compromised, leaving you in a bind.

Put simply

Think of it as trying to fit too many guests into a tiny elevator — when the load exceeds the capacity, things can get messy! This vulnerability occurs when the number of aggregate terms in an SQLite query exceeds the number of available columns, resulting in memory corruption during execution.

What to do

This could cause the application to crash or behave unpredictably, potentially leading to data loss or corruption. In the worst-case scenario, your application’s reliability could be compromised, leaving you in a bind. Upgrade your SQLite to version 3.50.2 or above immediately to close this vulnerability. Regularly audit your database queries for best practices to ensure stability. You've got this! Take those steps, and you'll have your database running smoothly in no time. 🛡️

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.73298 · 99.5th percentile
Weakness
CWE-197 · Numeric Truncation Error
Published
2025-07-15T18:15Z
Affected products (9)
ProductVersionsFixed in
sqlite/sqlite< 3.50.23.50.2
apple/ipados< 26.0.026.0.0
apple/iphone_os< 26.0.026.0.0
apple/macos< 26.0.026.0.0
apple/tvos< 26.0.026.0.0
apple/visionos< 26.0.026.0.0
apple/watchos< 26.0.026.0.0
siemens/ruggedcom_crossbow< 5.85.8
siemens/sidis_prime< 4.0.8004.0.800
References (10)
EPSS history
Timeline
  • 15 JUL 13:44Z
    Integer Truncation on SQLite
    cvelistv5