CVE-2025-6965 — SQLitePCLRaw.lib.e_sqlite3
Fix: github/advisory-database#7675CVE-2025-6965 is a CWE-197 vulnerability in SQLitePCLRaw.lib.e_sqlite3. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.
Integer Truncation on SQLite
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-6965.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
SQLitePCLRaw.lib.e_sqlite3.NETSQLitePCLRaw.lib.e_sqlite3.android.NETSQLitePCLRaw.lib.e_sqlite3.iosReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| .NETNuGet | SQLitePCLRaw.lib.e_sqlite3 | all versions | No fix |
| .NETNuGet | SQLitePCLRaw.lib.e_sqlite3.android | all versions | No fix |
| .NETNuGet | SQLitePCLRaw.lib.e_sqlite3.ios | all versions | No fix |
Affected Products
ipadosappleiphone osapplemacosappletvosapplevisionosapplewatchosappleResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
SQLite 3.50.1 - Heap Overflow
by Mohammed Idrees Banyamer · Apr 8, 2026
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for SQLitePCLRaw.lib.e_sqlite3, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
The records we use list no patched version of SQLitePCLRaw.lib.e_sqlite3 for CVE-2025-6965. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.
Mitigate without a patch
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
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…
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.Source: Red Hat security advisory for CVE-2025-6965 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 10 | sqlite-0:3.46.1-5.el10_0 | RHSA-2025:11933 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | sqlite-0:3.7.17-9.el7_9.1 | RHSA-2025:12349 |
| Red Hat Enterprise Linux 8 | nodejs:22-8100020250717142920.6d880403 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 8 | sqlite-0:3.26.0-20.el8_10 | RHSA-2025:12010 |
| Red Hat Enterprise Linux 8 | mingw-sqlite-0:3.26.0.0-2.el8_10 | RHSA-2025:14101 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | sqlite-0:3.26.0-6.el8_2.1 | RHSA-2025:12901 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | spice-client-win-0:8.10-3.el8_2.1 | RHSA-2026:0078 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | sqlite-0:3.26.0-13.el8_4.1 | RHSA-2025:12905 |
Frequently Asked Questions
Is CVE-2025-6965 in your dependencies?
Find it across NuGet, including transitive dependencies.