CVE-2025-6965 Integer Truncation on SQLite
An integer truncation flaw in SQLite allows memory corruption via excessive aggregate terms, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-6965?
CVE-2025-6965 is a high-severity vulnerability in Apple Ipados, published on 15 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Weakness: CWE-197
Which versions are affected by CVE-2025-6965?
7 open source packages ship an affected version, including SQLitePCLRaw.lib.e_sqlite3, sqlite and SQLitePCLRaw.lib.e_sqlite3.android. It affects 9 products.
| Package | Affected | Fixed in |
|---|---|---|
SQLitePCLRaw.lib.e_sqlite3 NuGet | All versions to 2.1.11 | None |
SQLitePCLRaw.lib.e_sqlite3 NuGet | All versions to 2.1.11 | None |
sqlite Bitnami | All versions | None |
SQLitePCLRaw.lib.e_sqlite3.android NuGet | All versions to 2.1.11 | None |
SQLitePCLRaw.lib.e_sqlite3.android NuGet | All versions to 2.1.11 | None |
SQLitePCLRaw.lib.e_sqlite3.ios NuGet | All versions to 2.1.11 | None |
1 more packages
SQLitePCLRaw.lib.e_sqlite3.ios NuGet | All versions to 2.1.11 | None |
Linux distribution packages (33)
sqlite AlmaLinux:10 | All versions | 3.46.1-5.el10_0 |
sqlite-devel AlmaLinux:10 | All versions | 3.46.1-5.el10_0 |
sqlite-libs AlmaLinux:10 | All versions | 3.46.1-5.el10_0 |
lemon AlmaLinux:8 | All versions | 3.26.0-20.el8_10 |
mingw32-sqlite AlmaLinux:8 | All versions | 3.26.0.0-2.el8_10 |
mingw32-sqlite-static AlmaLinux:8 | All versions | 3.26.0.0-2.el8_10 |
mingw64-sqlite AlmaLinux:8 | All versions | 3.26.0.0-2.el8_10 |
mingw64-sqlite-static AlmaLinux:8 | All versions | 3.26.0.0-2.el8_10 |
nodejs AlmaLinux:8 | All versions | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 |
nodejs-devel AlmaLinux:8 | All versions | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 |
nodejs-docs AlmaLinux:8 | All versions | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 |
nodejs-full-i18n AlmaLinux:8 | All versions | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 |
nodejs-libs AlmaLinux:8 | All versions | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 |
nodejs-nodemon AlmaLinux:8 | All versions | 3.0.1-1.module_el8.10.0+3983+391a1a04 |
nodejs-packaging AlmaLinux:8 | All versions | 2021.06-4.module_el8.10.0+4006+3c416519 |
nodejs-packaging-bundler AlmaLinux:8 | All versions | 2021.06-4.module_el8.10.0+3961+6a788e57 |
npm AlmaLinux:8 | All versions | 1:10.9.2-1.22.16.0.2.module_el8.10.0+4028+97ddca84 |
sqlite AlmaLinux:8 | All versions | 3.26.0-20.el8_10 |
sqlite-devel AlmaLinux:8 | All versions | 3.26.0-20.el8_10 |
sqlite-doc AlmaLinux:8 | All versions | 3.26.0-20.el8_10 |
sqlite-libs AlmaLinux:8 | All versions | 3.26.0-20.el8_10 |
v8-12.4-devel AlmaLinux:8 | All versions | 3:12.4.254.21-1.22.16.0.2.module_el8.10.0+4028+97ddca84 |
sqlite AlmaLinux:9 | All versions | 3.34.1-8.el9_6 |
sqlite AlmaLinux:9 | All versions | 3.34.1-9.el9_7 |
sqlite-devel AlmaLinux:9 | All versions | 3.34.1-8.el9_6 |
sqlite-devel AlmaLinux:9 | All versions | 3.34.1-9.el9_7 |
sqlite-libs AlmaLinux:9 | All versions | 3.34.1-8.el9_6 |
sqlite-libs AlmaLinux:9 | All versions | 3.34.1-9.el9_7 |
lemon-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:3.46.1-5.el10_0 |
sqlite Red Hat:enterprise_linux:10.0 | All versions | 0:3.46.1-5.el10_0 |
sqlite-analyzer-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:3.46.1-5.el10_0 |
sqlite-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:3.46.1-5.el10_0 |
sqlite-debugsource Red Hat:enterprise_linux:10.0 | All versions | 0:3.46.1-5.el10_0 |
Products include Apple Ipados, Apple Iphone Os, Apple Macos, Apple Tvos, Apple Visionos, Apple Watchos and 3 more.
How do I fix CVE-2025-6965?
Upgrade to a fixed version.
Is CVE-2025-6965 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6965 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Apple Ipados
- CVE-2025-43300 Apple iOS, iPadOS, and macOS Out-of-Bounds Write
- CVE-2025-24201 Apple Multiple Products WebKit Out-of-Bounds Write
- CVE-2025-24085 Apple Multiple Products Use-After-Free
- CVE-2025-31200 Apple Multiple Products Memory Corruption
- CVE-2025-31201 Apple Multiple Products Arbitrary Read and Write
Sources
Also known as ALPINE-CVE-2025-6965, ALSA-2025:11803, ALSA-2025:11933, ALSA-2025:11992, ALSA-2025:12010, ALSA-2025:14101 and 57 more.