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.
Published: 2025-07-15
Score: 7.2 High
EPSS: 73.3% High
KEV: No
Impact: Memory corruption
Action: Immediate Patch
AI Analysis

Impact

The flaw triggers when the number of aggregate terms in an SQL query exceeds the number of columns available in SQLite, causing an integer truncation that corrupts memory. This corruption can lead to application crashes or data integrity problems. The weakness is classified as CWE‑197.

Affected Systems

All releases of the SQLite engine before version 3.50.2. The vendor list includes SQLite itself, and the CPE data show the library is embedded in a range of products, such as Siemens RuggedCom Crossbow, sIDIS Prime, and Apple operating systems—including iOS, iPadOS, macOS, tvOS, visionOS, and watchOS.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity, but the EPSS score of less than 1 % indicates a very low likelihood of exploitation. The description does not specify the exact attack vector, but based on the vulnerability it can be inferred that an attacker would need the ability to submit crafted SQL statements that produce an aggregate query exceeding the column count. If the vulnerable SQLite instance is accessible—whether locally or through a remote interface—such a query could trigger the truncation and memory corruption. The flaw is not listed in the CISA KEV catalog, implying no confirmed publicly used exploits as of this analysis.

Generated by OpenCVE AI on October 17, 2026 at 11:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the SQLite engine to version 3.50.2 or later to fix the integer truncation issue.
  • If an immediate upgrade is not feasible, constrain user‑supplied SQL so that the number of aggregate terms never exceeds the number of columns, thereby preventing the truncation condition.
  • Apply additional safeguards such as input sanitization or restrictive access controls to limit the creation and execution of complex aggregate queries from untrusted sources.

Generated by OpenCVE AI on October 17, 2026 at 11:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-21441 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.
Github GHSA Github GHSA GHSA-2m69-gcr7-jv3q SQLitePCLRaw.lib.e_sqlite3 has a vulnerable dependency on SQLite
Ubuntu USN Ubuntu USN USN-7676-1 SQLite vulnerability
Ubuntu USN Ubuntu USN USN-7679-1 SQLite vulnerabilities
History

Thu, 15 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
References

Tue, 14 Apr 2026 10:30:00 +0000


Tue, 04 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Mon, 03 Nov 2025 19:30:00 +0000


Tue, 22 Jul 2025 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00042}


Wed, 16 Jul 2025 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L'}

threat_severity

Important


Tue, 15 Jul 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 15 Jul 2025 14:00:00 +0000

Type Values Removed Values Added
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.
Title Integer Truncation on SQLite
Weaknesses CWE-197
References
Metrics cvssV4_0

{'score': 7.2, '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/S:N/AU:N/R:U/V:D/RE:L/U:Green'}


Subscriptions

Apple Ipados Iphone Os Macos Tvos Visionos Watchos
Siemens Ruggedcom Crossbow Sidis Prime
Sqlite Sqlite
cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published:

Updated: 2026-10-15T01:02:15.010Z

Reserved: 2025-07-01T09:19:04.750Z

Link: CVE-2025-6965

cve-icon Vulnrichment

Updated: 2025-11-04T21:14:51.528Z

cve-icon NVD

Status : Modified

Published: 2025-07-15T14:15:31.080

Modified: 2026-10-15T02:18:15.987

Link: CVE-2025-6965

cve-icon Redhat

Severity : Important

Publid Date: 2025-07-15T13:44:00Z

Links: CVE-2025-6965 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T11:30:07Z

Weaknesses