SQLite Memory Corrupt: Aggregates > Columns Before 3.50.2
CVE-2025-6965 Published on July 15, 2025

Integer Truncation on SQLite
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.

NVD

Vulnerability Analysis

CVE-2025-6965 can be exploited with network access, and requires small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2025-6965. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
HIGH
Privileges Required:
LOW
User Interaction:
NONE

Weakness Type

Numeric Truncation Error

Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion. When a primitive is cast to a smaller primitive, the high order bits of the large value are lost in the conversion, potentially resulting in an unexpected value that is not equal to the original value. This value may be required as an index into a buffer, a loop iterator, or simply necessary state data. In any case, the value cannot be trusted and the system will be in an undefined state. While this method may be employed viably to isolate the low bits of a value, this usage is rare, and truncation usually implies that an implementation error has occurred.


Products Associated with CVE-2025-6965

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-6965 are published in these products:

 
 
 
 
 
 
 
 
 

Affected Versions

SQLite: Siemens RUGGEDCOM CROSSBOW Station Access Controller (SAC): Siemens SIDIS Prime:

Exploit Probability

EPSS
74.39%
Percentile
99.44%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.