CVE-2025-6965Integer Truncation on SQLite
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.
What to do
Likely to be exploited: EPSS gives a 74% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from AlmaLinux, Alpine, Debian, Microsoft, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | sqlite3 | Fixed | 3.46.1-6ubuntu1 | UBUNTU-CVE-2025-6965 |
| Ubuntu 24.04 | sqlite3 | Fixed | 3.45.1-1ubuntu2.4 | UBUNTU-CVE-2025-6965 |
| Ubuntu 22.04 | sqlite | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | sqlite3 | Fixed | 3.37.2-2ubuntu0.5 | UBUNTU-CVE-2025-6965 |
| Ubuntu 20.04 | sqlite3 | Fix pending | 3.31.1-4ubuntu0.7+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-6965 |
| Ubuntu 18.04 | sqlite3 | Fix pending | 3.22.0-1ubuntu0.7+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-6965 |
| Ubuntu 16.04 | sqlite3 | Fix pending | 3.11.0-1ubuntu1.5+esm3 (Ubuntu Pro) | UBUNTU-CVE-2025-6965 |
| Ubuntu 14.04 | sqlite3 | Fix pending | 3.8.2-1ubuntu2.2+esm5 (Ubuntu Pro) | UBUNTU-CVE-2025-6965 |
| Debian 14 | sqlite3 | Fixed | 3.46.1-7 | DEBIAN-CVE-2025-6965 |
| Debian 13 | sqlite3 | Fixed | 3.46.1-7 | DEBIAN-CVE-2025-6965 |
| Debian 12 | sqlite3 | Fixed | 3.40.1-2+deb12u2 | DEBIAN-CVE-2025-6965 |
| Red Hat Enterprise Linux 10 | firefox | Not affected | ||
| Red Hat Enterprise Linux 10 | sqlite | Fixed | 0:3.46.1-5.el10_0 | RHSA-2025:11933 |
| Red Hat Enterprise Linux 10 | sqlite-devel | Fixed | 0:3.46.1-5.el10_0 | RHSA-2025:11933 |
| Red Hat Enterprise Linux 10 | sqlite-libs | Fixed | 0:3.46.1-5.el10_0 | RHSA-2025:11933 |
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 9 | cargo | Not affected | ||
| Red Hat Enterprise Linux 9 | clippy | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs | Fixed | 1:22.16.0-2.module+el9.6.0+23339+d3c8acfa | RHSA-2025:11802 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:22.16.0-2.module+el9.6.0+23339+d3c8acfa | RHSA-2025:11802 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed | 1:22.16.0-2.module+el9.6.0+23339+d3c8acfa | RHSA-2025:11802 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed | 1:22.16.0-2.module+el9.6.0+23339+d3c8acfa | RHSA-2025:11802 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fixed | 1:22.16.0-2.module+el9.6.0+23339+d3c8acfa | RHSA-2025:11802 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.6.0+23339+d3c8acfa | RHSA-2025:11802 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.6.0+23339+d3c8acfa | RHSA-2025:11802 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-4.module+el9.6.0+23339+d3c8acfa | RHSA-2025:11802 |
| Red Hat Enterprise Linux 9 | npm | Fixed | 1:10.9.2-1.22.16.0.2.module+el9.6.0+23339+d3c8acfa | RHSA-2025:11802 |
| Red Hat Enterprise Linux 9 | rust | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 9 | sqlite | Fixed | 0:3.34.1-9.el9_7 | RHSA-2025:11992 |
| Red Hat Enterprise Linux 9 | sqlite-devel | Fixed | 0:3.34.1-9.el9_7 | RHSA-2025:11992 |
| Red Hat Enterprise Linux 9 | sqlite-libs | Fixed | 0:3.34.1-9.el9_7 | RHSA-2025:11992 |
| Red Hat Enterprise Linux 9 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 9 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.16.0.2.module+el9.6.0+23339+d3c8acfa | RHSA-2025:11802 |
| Red Hat Enterprise Linux 8 | cargo | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | clippy | Not affected | ||
| Red Hat Enterprise Linux 8 | firefox | Not affected | ||
| Red Hat Enterprise Linux 8 | lemon | Fixed | 0:3.26.0-20.el8_10 | RHSA-2025:12010 |
| Red Hat Enterprise Linux 8 | mingw-sqlite | Fixed | 0:3.26.0.0-2.el8_10 | RHSA-2025:14101 |
| Red Hat Enterprise Linux 8 | mingw32-sqlite | Fixed | 0:3.26.0.0-2.el8_10 | RHSA-2025:14101 |
| Red Hat Enterprise Linux 8 | mingw32-sqlite-static | Fixed | 0:3.26.0.0-2.el8_10 | RHSA-2025:14101 |
| Red Hat Enterprise Linux 8 | mingw64-sqlite | Fixed | 0:3.26.0.0-2.el8_10 | RHSA-2025:14101 |
| Red Hat Enterprise Linux 8 | mingw64-sqlite-static | Fixed | 0:3.26.0.0-2.el8_10 | RHSA-2025:14101 |
| Red Hat Enterprise Linux 8 | nodejs | Fixed | 1:22.16.0-2.module+el8.10.0+23338+c5a38893 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed | 1:22.16.0-2.module+el8.10.0+23338+c5a38893 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed | 1:22.16.0-2.module+el8.10.0+23338+c5a38893 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed | 1:22.16.0-2.module+el8.10.0+23338+c5a38893 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Fixed | 1:22.16.0-2.module+el8.10.0+23338+c5a38893 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el8.10.0+23140+4056b950 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed | 0:2021.06-4.module+el8.10.0+23140+4056b950 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed | 0:2021.06-4.module+el8.10.0+23140+4056b950 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 8 | npm | Fixed | 1:10.9.2-1.22.16.0.2.module+el8.10.0+23338+c5a38893 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 8 | rls | Not affected | ||
| Red Hat Enterprise Linux 8 | rust | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 8 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 8 | sqlite | Fixed | 0:3.26.0-20.el8_10 | RHSA-2025:12010 |
| Red Hat Enterprise Linux 8 | sqlite-devel | Fixed | 0:3.26.0-20.el8_10 | RHSA-2025:12010 |
| Red Hat Enterprise Linux 8 | sqlite-doc | Fixed | 0:3.26.0-20.el8_10 | RHSA-2025:12010 |
| Red Hat Enterprise Linux 8 | sqlite-libs | Fixed | 0:3.26.0-20.el8_10 | RHSA-2025:12010 |
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.16.0.2.module+el8.10.0+23338+c5a38893 | RHSA-2025:11803 |
| Red Hat Enterprise Linux 7 | firefox | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | lemon | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sqlite | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sqlite-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sqlite-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sqlite-tcl | Will not fix Out of support scope | ||
| AlmaLinux 10 | sqlite | Fixed | 3.46.1-5.el10_0 | ALSA-2025:11933 |
| AlmaLinux 10 | sqlite-devel | Fixed | 3.46.1-5.el10_0 | ALSA-2025:11933 |
| AlmaLinux 10 | sqlite-libs | Fixed | 3.46.1-5.el10_0 | ALSA-2025:11933 |
| AlmaLinux 9 | sqlite | Fixed | 3.34.1-9.el9_7 | ALSA-2025:11992 |
| AlmaLinux 9 | sqlite-devel | Fixed | 3.34.1-9.el9_7 | ALSA-2025:11992 |
| AlmaLinux 9 | sqlite-libs | Fixed | 3.34.1-8.el9_6 | ALSA-2025:20936 |
| AlmaLinux 8 | lemon | Fixed | 3.26.0-20.el8_10 | ALSA-2025:12010 |
| AlmaLinux 8 | mingw32-sqlite | Fixed | 3.26.0.0-2.el8_10 | ALSA-2025:14101 |
| AlmaLinux 8 | mingw32-sqlite-static | Fixed | 3.26.0.0-2.el8_10 | ALSA-2025:14101 |
| AlmaLinux 8 | mingw64-sqlite | Fixed | 3.26.0.0-2.el8_10 | ALSA-2025:14101 |
| AlmaLinux 8 | mingw64-sqlite-static | Fixed | 3.26.0.0-2.el8_10 | ALSA-2025:14101 |
| AlmaLinux 8 | nodejs | Fixed | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 | ALSA-2025:11803 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 | ALSA-2025:11803 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 | ALSA-2025:11803 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 | ALSA-2025:11803 |
| AlmaLinux 8 | nodejs-libs | Fixed | 1:22.16.0-2.module_el8.10.0+4028+97ddca84 | ALSA-2025:11803 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.0.1-1.module_el8.10.0+3983+391a1a04 | ALSA-2025:11803 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-4.module_el8.10.0+4006+3c416519 | ALSA-2025:11803 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-4.module_el8.10.0+3961+6a788e57 | ALSA-2025:11803 |
| AlmaLinux 8 | npm | Fixed | 1:10.9.2-1.22.16.0.2.module_el8.10.0+4028+97ddca84 | ALSA-2025:11803 |
| AlmaLinux 8 | sqlite | Fixed | 3.26.0-20.el8_10 | ALSA-2025:12010 |
| AlmaLinux 8 | sqlite-devel | Fixed | 3.26.0-20.el8_10 | ALSA-2025:12010 |
| AlmaLinux 8 | sqlite-doc | Fixed | 3.26.0-20.el8_10 | ALSA-2025:12010 |
| AlmaLinux 8 | sqlite-libs | Fixed | 3.26.0-20.el8_10 | ALSA-2025:12010 |
| AlmaLinux 8 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.16.0.2.module_el8.10.0+4028+97ddca84 | ALSA-2025:11803 |
| Rocky Linux 10 | sqlite | Fixed | 0:3.46.1-5.el10_0 | RLSA-2025:11933 |
| Rocky Linux 9 | nodejs | Fixed | 1:22.16.0-2.module+el9.6.0+32322+a8b1fd01 | RLSA-2025:11802 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.6.0+32045+2e5d342d | RLSA-2025:11802 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.6.0+32143+ae966e5b | RLSA-2025:11802 |
| Rocky Linux 9 | sqlite | Fixed | 0:3.34.1-8.el9_6 | RLSA-2025:20936 |
| Rocky Linux 8 | mingw-sqlite | Fixed | 0:3.26.0.0-2.el8_10 | RLSA-2025:14101 |
| Rocky Linux 8 | nodejs | Fixed | 1:22.16.0-2.module+el8.10.0+2012+fb8b67c7 | RLSA-2025:11803 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el8.10.0+1989+e60144d9 | RLSA-2025:11803 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-4.module+el8.10.0+1667+4a788d89 | RLSA-2025:11803 |
| Rocky Linux 8 | sqlite | Fixed | 0:3.26.0-20.el8_10 | RLSA-2025:12010 |
| Windows Server 2025 | windows | Fixed | 10.0.26100.32230 KB5073379 | MSRC-2025-Jul |
| Windows Server 2022 | windows | Fixed | 10.0.20348.4648 KB5073457 | MSRC-2025-Jul |
| Windows Server 2019 | windows | Fixed | 10.0.17763.8276 KB5073723 | MSRC-2025-Jul |
| Windows Server 2016 | windows | Fixed | 10.0.14393.8783 KB5073722 | MSRC-2025-Jul |
| Windows 10 Version 1809 (x64) | windows | Fixed | 10.0.17763.8276 KB5073723 | MSRC-2025-Jul |
| Windows 10 Version 1809 (x86) | windows | Fixed | 10.0.17763.8276 KB5073723 | MSRC-2025-Jul |
| Windows 10 Version 1607 (x64) | windows | Fixed | 10.0.14393.8783 KB5073722 | MSRC-2025-Jul |
| Windows 10 Version 1607 (x86) | windows | Fixed | 10.0.14393.8783 KB5073722 | MSRC-2025-Jul |
| Windows Server, version 23H2 | windows | Fixed | 10.0.25398.2092 KB5073450 | MSRC-2025-Jul |
| Windows 10 Version 21H2 (arm64) | windows | Fixed | 10.0.19044.6809 KB5073724 | MSRC-2025-Jul |
| Windows 10 Version 21H2 (x64) | windows | Fixed | 10.0.19044.6809 KB5073724 | MSRC-2025-Jul |
| Windows 10 Version 21H2 (x86) | windows | Fixed | 10.0.19044.6809 KB5073724 | MSRC-2025-Jul |
| Windows 10 Version 22H2 (arm64) | windows | Fixed | 10.0.19045.6809 KB5073724 | MSRC-2025-Jul |
| Windows 10 Version 22H2 (x64) | windows | Fixed | 10.0.19045.6809 KB5073724 | MSRC-2025-Jul |
| Windows 10 Version 22H2 (x86) | windows | Fixed | 10.0.19045.6809 KB5073724 | MSRC-2025-Jul |
| Windows 11 Version 23H2 (arm64) | windows | Fixed | 10.0.22631.6491 KB5073455 | MSRC-2025-Jul |
| Windows 11 Version 23H2 (x64) | windows | Fixed | 10.0.22631.6491 KB5073455 | MSRC-2025-Jul |
| Windows 11 Version 24H2 (arm64) | windows | Fixed | 10.0.26100.7623 KB5074109 | MSRC-2025-Jul |
| Windows 11 Version 24H2 (x64) | windows | Fixed | 10.0.26100.7623 KB5074109 | MSRC-2025-Jul |
| Windows 11 Version 25H2 (arm64) | windows | Fixed | 10.0.26200.7623 KB5074109 | MSRC-2025-Jul |
| Windows 11 Version 25H2 (x64) | windows | Fixed | 10.0.26200.7623 KB5074109 | MSRC-2025-Jul |
| Alpine Linux 3.24 | qt6-qtwebengine | Fixed | 6.10.0-r1 | ALPINE-CVE-2025-6965 |
| Alpine Linux 3.23 | qt6-qtwebengine | Fixed | 6.10.0-r1 | ALPINE-CVE-2025-6965 |
| Alpine Linux 3.22 | qt6-qtwebengine | Fixed | 6.8.3-r4 | ALPINE-CVE-2025-6965 |
| Alpine Linux 3.22 | sqlite | Fixed | 3.49.2-r1 | ALPINE-CVE-2025-6965 |
| Alpine Linux 3.21 | sqlite | Fixed | 3.48.0-r3 | ALPINE-CVE-2025-6965 |
| Alpine Linux 3.20 | sqlite | Fixed | 3.45.3-r3 | ALPINE-CVE-2025-6965 |
| Alpine Linux 3.19 | sqlite | Fixed | 3.44.2-r2 | ALPINE-CVE-2025-6965 |
| Alpine Linux 3.18 | sqlite | Fixed | 3.41.2-r4 | ALPINE-CVE-2025-6965 |
What the vendor says
As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- SQLite: affected: before 3.50.2; fixed in
3.50.2
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.