Skip to content
OpenAdvisories
Medium · 6.9 CVE-2025-3277 EUVD-2025-15064GHSA-g2ph-wvc2-ph4v

An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer…

Published Apr 14, 2025 · Updated Oct 15, 2026 · Assigned by Google

Description

An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution.

Affected products

VendorProductAffectedFixed
SQLite sqlite < 3.49.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sqlite3 3.46.1-3 —
Debian 13 sqlite3 3.46.1-3 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS sqlite3 3.45.1-1ubuntu2.3 USN-7528-1
Ubuntu 22.04 LTS sqlite3 3.37.2-2ubuntu0.4 USN-7528-1
Ubuntu 20.04 LTS sqlite3 3.31.1-4ubuntu0.7 USN-7528-1
ReleasePackageFixed inAdvisory
RHEL 10 sqlite +2 3.46.1-4.el10_0 RHSA-2025:7517
RHEL 9 nodejs +4 1:22.15.0-1.module+el9.6.0+23062+9e7801b9 RHSA-2025:7433
RHEL 9 nodejs-nodemon 3.0.1-1.module+el9.6.0+23062+9e7801b9 RHSA-2025:7433
RHEL 9 nodejs-packaging +1 2021.06-4.module+el9.6.0+23062+9e7801b9 RHSA-2025:7433
RHEL 9 npm 1:10.9.2-1.22.15.0.1.module+el9.6.0+23062+9e7801b9 RHSA-2025:7433
RHEL 9 v8-12.4-devel 3:12.4.254.21-1.22.15.0.1.module+el9.6.0+23062+9e7801b9 RHSA-2025:7433
RHEL 8 nodejs +4 1:22.15.0-1.module+el8.10.0+23068+28ff2340 RHSA-2025:4459
RHEL 8 nodejs-nodemon 3.0.1-1.module+el8.10.0+23068+28ff2340 RHSA-2025:4459
RHEL 8 nodejs-packaging +1 2021.06-4.module+el8.10.0+23068+28ff2340 RHSA-2025:4459
RHEL 8 npm 1:10.9.2-1.22.15.0.1.module+el8.10.0+23068+28ff2340 RHSA-2025:4459
RHEL 8 v8-12.4-devel 3:12.4.254.21-1.22.15.0.1.module+el8.10.0+23068+28ff2340 RHSA-2025:4459

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 sqlite +2 3.46.1-4.el10_0 ALSA-2025:7517
AlmaLinux 9 nodejs +4 1:22.15.0-1.module_el9.6.0+164+2d89b8ed ALSA-2025:7433
AlmaLinux 9 nodejs-nodemon 3.0.1-1.module_el9.5.0+139+09296491 ALSA-2025:7433
AlmaLinux 9 nodejs-packaging +1 2021.06-4.module_el9.5.0+139+09296491 ALSA-2025:7433
AlmaLinux 9 npm 1:10.9.2-1.22.15.0.1.module_el9.6.0+164+2d89b8ed ALSA-2025:7433
AlmaLinux 9 v8-12.4-devel 3:12.4.254.21-1.22.15.0.1.module_el9.6.0+164+2d89b8ed ALSA-2025:7433
AlmaLinux 8 nodejs +4 1:22.15.0-1.module_el8.10.0+3986+a908e756 ALSA-2025:4459
AlmaLinux 8 nodejs-nodemon 3.0.1-1.module_el8.10.0+3983+391a1a04 ALSA-2025:4459
AlmaLinux 8 nodejs-packaging +1 2021.06-4.module_el8.10.0+3961+6a788e57 ALSA-2025:4459
AlmaLinux 8 npm 1:10.9.2-1.22.15.0.1.module_el8.10.0+3986+a908e756 ALSA-2025:4459
AlmaLinux 8 v8-12.4-devel 3:12.4.254.21-1.22.15.0.1.module_el8.10.0+3986+a908e756 ALSA-2025:4459

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 sqlite 3.46.1-4.el10_0 RLSA-2025:7517
Rocky Linux 9 nodejs-nodemon 3.0.1-1.module+el9.5.0+31770+0da7192d RLSA-2025:7433
Rocky Linux 9 nodejs-packaging 2021.06-4.module+el9.5.0+31770+0da7192d RLSA-2025:7433
Rocky Linux 8 nodejs 1:22.15.0-1.module+el8.10.0+1971+0bb08ece RLSA-2025:4459
Rocky Linux 8 nodejs-nodemon 3.0.1-1.module+el8.9.0+1760+903d54b9 RLSA-2025:4459
Rocky Linux 8 nodejs-packaging 2021.06-4.module+el8.9.0+1419+1f26ef47 RLSA-2025:4459
ReleasePackageFixed inAdvisory
SLES 15 SP7 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-1
SLES 15 SP6 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:1456-1
SLES 15 SP5 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
SLES 15 SP4 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
SLES 15 SP3 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 sqlite3 3.49.1-9.33.1 SUSE-SU-2025:1455-1, SUSE-SU-2025:01455-1
SLES for SAP 15 SP5 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
SLES for SAP 15 SP4 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
SLES for SAP 15 SP3 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
SLE Micro 5.5 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:1456-1
SLE Micro 5.4 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:1456-1
SLE Micro 5.3 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:1456-1
SLE Micro 5.2 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:1456-1
SLE Micro 5.1 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:1456-1
SLE HPC 15 SP5 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
SLE HPC 15 SP4 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
SLE HPC 15 SP3 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
SUSE Manager Server 4.3 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
SUSE Manager Proxy 4.3 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
SUSE Enterprise Storage 7.1 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:01456-2
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:1456-1
ReleasePackageFixed inAdvisory
Alpine v3.24 qt6-qtwebengine 6.8.2-r4 —
Alpine v3.23 qt6-qtwebengine 6.8.2-r4 —
Alpine v3.22 qt6-qtwebengine 6.8.2-r4 —
Alpine v3.21 sqlite 3.48.0-r1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 sqlite +2 3.46.1-4.el10_0 ELSA-2025-7517
Oracle Linux 9 nodejs +4 1:22.15.0-1.module+el9.6.0+90588+1a9ecb62 ELSA-2025-7433
Oracle Linux 9 nodejs-nodemon 3.0.1-1.module+el9.6.0+90588+1a9ecb62 ELSA-2025-7433
Oracle Linux 9 nodejs-packaging +1 2021.06-4.module+el9.6.0+90588+1a9ecb62 ELSA-2025-7433
Oracle Linux 9 npm 1:10.9.2-1.22.15.0.1.module+el9.6.0+90588+1a9ecb62 ELSA-2025-7433
Oracle Linux 9 v8-12.4-devel 3:12.4.254.21-1.22.15.0.1.module+el9.6.0+90588+1a9ecb62 ELSA-2025-7433
Oracle Linux 8 nodejs +4 1:22.15.0-1.module+el8.10.0+90558+f3d29a46 ELSA-2025-4459
Oracle Linux 8 nodejs-nodemon 3.0.1-1.module+el8.10.0+90558+f3d29a46 ELSA-2025-4459
Oracle Linux 8 nodejs-packaging +1 2021.06-4.module+el8.10.0+90558+f3d29a46 ELSA-2025-4459
Oracle Linux 8 npm 1:10.9.2-1.22.15.0.1.module+el8.10.0+90558+f3d29a46 ELSA-2025-4459
Oracle Linux 8 v8-12.4-devel 3:12.4.254.21-1.22.15.0.1.module+el8.10.0+90558+f3d29a46 ELSA-2025-4459

Advisories 28

References