Cyber Resilience

CVE-2025-6965

Sqlite ≤ 3.50.2

High EPSS
Published
15 July 2025
Modified
26 June 2026
Patch / advisory
CVSS Score v4 7.2
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.75 99.5th percentile
Risk Priority 70 floored blend · peak EPSS

Summary

CVE-2025-6965 is a high-severity Numeric Truncation Error (CWE-197) vulnerability in Sqlite Sqlite. Its CVSS base score is 7.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 0.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

A vulnerability in SQLite versions prior to 3.50.2 allows the number of aggregate terms in a query to exceed the number of available columns, resulting in memory corruption. The flaw is tracked as CVE-2025-6965 and carries a CVSS 4.0 score of 7.2 with network attack vector, low privileges required, and high attack complexity.

An attacker who can supply or influence SQL statements processed by an affected SQLite instance may trigger the out-of-bounds condition. Successful exploitation can corrupt memory and produce high-integrity impacts on the affected process, though the high complexity and prerequisite access limit the practical attack surface to applications that accept untrusted queries or load attacker-controlled databases.

Public references, including the SQLite commit record and coordinated Full Disclosure postings, direct users to upgrade to version 3.50.2 or later to correct the aggregate-term handling logic. The associated EPSS score remains low at approximately 0.017 with no material increase after disclosure.

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-24085Same product: Apple Ipados
CVE-2025-43520Same product: Apple Ipados
CVE-2025-24137Same product: Apple Ipados
CVE-2025-24129Same product: Apple Ipados
CVE-2025-43355Same product: Apple Ipados
CVE-2024-44233Same product: Apple Ipados
CVE-2025-24131Same product: Apple Ipados
CVE-2024-44232Same product: Apple Ipados
CVE-2025-31239Same product: Apple Ipados
CVE-2024-23286Same product: Apple Ipados

Affected Assets

sqlite
sqlite
≤ 3.50.2
apple
ipados
≤ 26.0.0
apple
iphone os
≤ 26.0.0
apple
macos
≤ 26.0.0
apple
tvos
≤ 26.0.0
apple
visionos
≤ 26.0.0
apple
watchos
≤ 26.0.0
siemens
ruggedcom crossbow
≤ 5.8
siemens
sidis prime
≤ 4.0.800

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation can discover truncation errors through static analysis, dynamic testing, or code review.

Documented development standards and tools can mandate use of safe arithmetic libraries or explicit checks against truncation.

Engineering principles can require safe type conversions and avoidance of narrowing casts that cause truncation.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly prevent truncation errors via reviews, static analysis, and safe type handling.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect truncation bugs through static analysis and fuzzing.

prevents

Secure development lifecycle mandates practices that can catch numeric truncation during design and code review.

degrades

Application security requirements can specify safe numeric handling and data-type constraints.

degrades

Secure architecture principles include choosing appropriate data types and avoiding unsafe casts.

prevents

Secure coding standards directly prohibit unsafe narrowing conversions and truncation.

References