SQLite: Numeric Truncation Error
CVE-2025-6965 is a high-severity numeric truncation error vulnerability in SQLite, with a CVSS 3.1 base score of 7.7 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists version 3.50.2 as the first without the flaw, so updating SQLite to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 73.5% chance of exploitation within 30 days, which is in the top 0.53% of all scored CVEs.
Exploitation in the next 30 days is more likely than not, according to EPSS.
What to do
- Update SQLite to 3.50.2 or a later version.
- Update RUGGEDCOM CROSSBOW Station Access Controller (SAC) to V5.8 or V6.0, whichever matches your release line, or a later version.
- Update SIDIS Prime to V4.0.800 or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| SQLite | SQLite | before 3.50.2 | 3.50.2 |
| Siemens | RUGGEDCOM CROSSBOW Station Access Controller (SAC) | before V5.8; before V6.0 | V5.8, V6.0 |
| Siemens | SIDIS Prime | before V4.0.800 | V4.0.800 |
| Apple | iPadOS | before 26.0.0 | 26.0.0 |
| Apple | Iphone OS | before 26.0.0 | 26.0.0 |
| Apple | macOS | before 26.0.0 | 26.0.0 |
| Apple | tvOS | before 26.0.0 | 26.0.0 |
| Apple | Visionos | before 26.0.0 | 26.0.0 |
| Apple | watchOS | before 26.0.0 | 26.0.0 |
| Siemens | Ruggedcom Crossbow | before 5.8 | 5.8 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- ChangedThe attack can reach beyond the vulnerable component into other systems.
- Confidentiality
- LowSome restricted data can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- LowPerformance or availability is reduced.
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 4.0 | 7.2 | High | CNA (google.com) |
| CVSS 3.1 | 7.7 | High | NVD |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: 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.
How developers prevent this class of flaw
- Ensure that no casts, implicit or explicit, take place that move from a larger size primitive or a smaller size primitive.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Third-party and government advisories
- seclists.org/fulldisclosure/2025/Sep/49Third Party Advisory
- seclists.org/fulldisclosure/2025/Sep/53Third Party Advisory
- seclists.org/fulldisclosure/2025/Sep/56Third Party Advisory
- seclists.org/fulldisclosure/2025/Sep/57Third Party Advisory
- seclists.org/fulldisclosure/2025/Sep/58Third Party Advisory
- openwall.com/lists/oss-security/2025/09/06/1Third Party Advisory
- cert-portal.siemens.com/productcert/html/ssa-225816.htmlThird Party Advisory
- cert-portal.siemens.com/productcert/html/ssa-485750.htmlThird Party Advisory
Other references
Other vulnerabilities in SQLite
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.5 High severity
Recent Numeric Truncation Error vulnerabilities
- 8.8 High severity
Spotted an error? Tell us.