cve.bz

CVE-2025-6965 Numeric Truncation Error

7.2 highExploitEPSS 73%Fix available

High (7.2). EPSS 73% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

7.2 high
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

CVSS 3.1

7.7 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L
EPSS
73% (unchanged from 73% a week ago; 73% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-04-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-197 Numeric Truncation Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-6965 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-6965?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-6965?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-6965 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2025-6965

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-6965](https://cve.bz/cve/badge/CVE-2025-6965.svg)](https://cve.bz/cve/CVE-2025-6965)

HTML:

<a href="https://cve.bz/cve/CVE-2025-6965"><img src="https://cve.bz/cve/badge/CVE-2025-6965.svg" alt="CVE-2025-6965"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
SQLitebefore 3.50.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2m69-gcr7-jv3qNuGetSQLitePCLRaw.lib.e_sqlite3<=2.1.11no fix published
GHSA-2m69-gcr7-jv3qNuGetSQLitePCLRaw.lib.e_sqlite3.android<=2.1.11no fix published
GHSA-2m69-gcr7-jv3qNuGetSQLitePCLRaw.lib.e_sqlite3.ios<=2.1.11no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12sqlite33.40.1-2+deb12u2DEBIAN-CVE-2025-6965
Debian13, 14sqlite33.46.1-7DEBIAN-CVE-2025-6965
Ubuntu22.04:LTSsqlite33.37.2-2ubuntu0.5UBUNTU-CVE-2025-6965 USN-7676-1
Ubuntu24.04:LTSsqlite33.45.1-1ubuntu2.4UBUNTU-CVE-2025-6965 USN-7676-1
Ubuntu25.10sqlite33.46.1-6ubuntu1UBUNTU-CVE-2025-6965
UbuntuPro:14.04:LTSsqlite33.8.2-1ubuntu2.2+esm5UBUNTU-CVE-2025-6965 USN-7679-1
UbuntuPro:16.04:LTSsqlite33.11.0-1ubuntu1.5+esm3UBUNTU-CVE-2025-6965 USN-7679-1
UbuntuPro:18.04:LTSsqlite33.22.0-1ubuntu0.7+esm2UBUNTU-CVE-2025-6965 USN-7679-1
UbuntuPro:20.04:LTSsqlite33.31.1-4ubuntu0.7+esm1UBUNTU-CVE-2025-6965 USN-7679-1
Red Hatenterprise_linux:8::appstreamlemon, lemon-debuginfo, sqlite-debuginfo and 4 more0:3.26.0-20.el8_10RHSA-2025:12010
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.16.0-2.module+el8.10.0+23338+c5a38893RHSA-2025:11803
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.10.0+23140+4056b950RHSA-2025:11803
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.10.0+23140+4056b950RHSA-2025:11803
Red Hatenterprise_linux:8::appstreamnpm1:10.9.2-1.22.16.0.2.module+el8.10.0+23338+c5a38893RHSA-2025:11803
Red Hatenterprise_linux:8::appstreamv8-12.4-devel3:12.4.254.21-1.22.16.0.2.module+el8.10.0+23338+c5a38893RHSA-2025:11803
Red Hatenterprise_linux:8::baseossqlite, sqlite-doc, sqlite-libs and 7 more0:3.26.0-20.el8_10RHSA-2025:12010
Red Hatenterprise_linux:8::crbmingw-sqlite, mingw32-sqlite, mingw64-sqlite and 4 more0:3.26.0.0-2.el8_10RHSA-2025:14101
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.16.0-2.module+el9.6.0+23339+d3c8acfaRHSA-2025:11802
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.0.1-1.module+el9.6.0+23339+d3c8acfaRHSA-2025:11802
Red Hatenterprise_linux:9::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el9.6.0+23339+d3c8acfaRHSA-2025:11802
Red Hatenterprise_linux:9::appstreamnpm1:10.9.2-1.22.16.0.2.module+el9.6.0+23339+d3c8acfaRHSA-2025:11802
25 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 18 moresqlite33.50.2-150000.3.33.1SUSE-SU-2025:02672-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5sqlite33.50.2-9.41.1SUSE-SU-2025:02744-1
SUSELinux Micro 6.0sqlite33.50.2-1.1SUSE-SU-2025:20561-1
SUSELinux Micro 6.1sqlite33.50.2-slfo.1.1_1.1SUSE-SU-2025:20674-1
openSUSELeap 15.6sqlite33.50.2-150000.3.33.1SUSE-SU-2025:02672-1
openSUSETumbleweedsqlite33.50.3-1.1openSUSE-SU-2025:15368-1
AlmaLinux8lemon, sqlite, sqlite-doc and 2 more3.26.0-20.el8_10ALSA-2025:12010
AlmaLinux8mingw32-sqlite, mingw64-sqlite, mingw32-sqlite-static and 1 more3.26.0.0-2.el8_10ALSA-2025:14101
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:22.16.0-2.module_el8.10.0+4028+97ddca84ALSA-2025:11803
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.10.0+3983+391a1a04ALSA-2025:11803
AlmaLinux8nodejs-packaging2021.06-4.module_el8.10.0+4006+3c416519ALSA-2025:11803
AlmaLinux8nodejs-packaging-bundler2021.06-4.module_el8.10.0+3961+6a788e57ALSA-2025:11803
AlmaLinux8npm1:10.9.2-1.22.16.0.2.module_el8.10.0+4028+97ddca84ALSA-2025:11803
AlmaLinux8v8-12.4-devel3:12.4.254.21-1.22.16.0.2.module_el8.10.0+4028+97ddca84ALSA-2025:11803
AlmaLinux9sqlite, sqlite-libs, sqlite-devel3.34.1-8.el9_6ALSA-2025:11992
AlmaLinux9sqlite, sqlite-libs, sqlite-devel3.34.1-9.el9_7ALSA-2025:20936
AlmaLinux10sqlite, sqlite-libs, sqlite-devel3.46.1-5.el10_0ALSA-2025:11933
Rocky Linux8mingw-sqlite0:3.26.0.0-2.el8_10RLSA-2025:14101
Rocky Linux8nodejs1:22.16.0-2.module+el8.10.0+2012+fb8b67c7RLSA-2025:11803
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2025:11803
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2025:11803
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2025:11803
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2025:11803
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2025:11803
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2025:11803
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2025:11803
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2025:11803
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2025:11803
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.10.0+1667+4a788d89RLSA-2025:11803
24 more for Rocky Linux in the JSON.
Alpinev3.18sqlite3.41.2-r4ALPINE-CVE-2025-6965
Alpinev3.19sqlite3.44.2-r2ALPINE-CVE-2025-6965
Alpinev3.20sqlite3.45.3-r3ALPINE-CVE-2025-6965
Alpinev3.21sqlite3.48.0-r3ALPINE-CVE-2025-6965
Alpinev3.22qt6-qtwebengine6.8.3-r4ALPINE-CVE-2025-6965
Alpinev3.22sqlite3.49.2-r1ALPINE-CVE-2025-6965
Alpinev3.23, v3.24qt6-qtwebengine6.10.0-r1ALPINE-CVE-2025-6965
Azure Linux2sqlite3.39.2-4AZL-65507
Azure Linux3sqlite3.44.0-2AZL-65327
Alpaquita23sqlite3.40.1-r4BELL-CVE-2025-6965
Alpaquita25sqlite3.49.2-r1BELL-CVE-2025-6965
Alpaquitastreamsqlite3.50.2-r0BELL-CVE-2025-6965
BellSoft Hardened Containers23sqlite3.40.1-r4BELL-CVE-2025-6965
BellSoft Hardened Containers25sqlite3.49.2-r1BELL-CVE-2025-6965
BellSoft Hardened Containersstreamsqlite3.50.2-r0BELL-CVE-2025-6965

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability in SQLite is categorized as Important rather than Critical because, although it involves memory corruption, the conditions required to trigger it are relatively constrained. The flaw arises when a query causes the number of aggregate terms to exceed internal limits, leading to potential buffer overflows or memory mismanagement. However, exploitation requires the ability to craft complex SQL queries and interact with the SQLite engine in a specific manner—typically through direct SQL input. There is no known evidence of arbitrary code execution, privilege escalation, or remote exploitability as a direct result of this flaw. Additionally, most SQLite deployments are embedded in applications where input is tightly controlled or sanitized.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10sqlite-0:3.46.1-5.el10_0Fixed 2025-07-28RHSA-2025:11933
Red Hat Enterprise Linux 7 Extended Lifecycle Supportsqlite-0:3.7.17-9.el7_9.1Fixed 2025-07-31RHSA-2025:12349
Red Hat Enterprise Linux 8nodejs:22-8100020250717142920.6d880403Fixed 2025-07-28RHSA-2025:11803
Red Hat Enterprise Linux 8sqlite-0:3.26.0-20.el8_10Fixed 2025-07-28RHSA-2025:12010
Red Hat Enterprise Linux 8mingw-sqlite-0:3.26.0.0-2.el8_10Fixed 2025-08-19RHSA-2025:14101
Red Hat Enterprise Linux 8.2 Advanced Update Supportsqlite-0:3.26.0-6.el8_2.1Fixed 2025-08-05RHSA-2025:12901
Red Hat Enterprise Linux 8.2 Advanced Update Supportspice-client-win-0:8.10-3.el8_2.1Fixed 2026-01-05RHSA-2026:0078
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportsqlite-0:3.26.0-13.el8_4.1Fixed 2025-08-05RHSA-2025:12905
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportspice-client-win-0:8.10-3.el8_4.1Fixed 2026-01-05RHSA-2026:0077
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onsqlite-0:3.26.0-13.el8_4.1Fixed 2025-08-05RHSA-2025:12905
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 6sqliteOut of support scope
Red Hat Enterprise Linux 7firefoxOut of support scope
Red Hat Enterprise Linux 8firefoxNot affected
Red Hat Enterprise Linux 8rust-toolset:rhel8/rustNot affected
Red Hat Enterprise Linux 8thunderbirdNot affected
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9thunderbirdNot affected
68 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-6965.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-15Siemens RUGGEDCOM CROSSBOW Station Access Controller2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM CROSSBOW Station Access Controller (SAC) < V6.0none listed
ICSA-26-111-08Siemens RUGGEDCOM CROSSBOW Station Access Controller (SAC)2026-04-14Critical ManufacturingRUGGEDCOM CROSSBOW Station Access Controller (SAC)none listed
ICSA-26-071-03Siemens SIDIS Prime2026-03-10Critical ManufacturingSIDIS Primenone listed
ICSA-26-141-03ABB B&R Automation Studio2026-02-18EnergyABB B&R Automation Studio <6.5ABB B&R Automation Studio 6.5

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Public exploits

References

Check your stackJSON