Vulnerability · Published Apr 14, 2025 · Assigned by Google

CVE-2025-3277

Medium 6.9

In plain English

A medium-severity heap buffer overflow in sqlite from SQLite. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)1.3%top 30.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:22.15.0-1.module_el8.10.0+3986+a908e756ALSA-2025:4459
AlmaLinux:9nodejs1:22.15.0-1.module_el9.6.0+164+2d89b8edALSA-2025:7433
AlmaLinux:8nodejs-devel1:22.15.0-1.module_el8.10.0+3986+a908e756ALSA-2025:4459
AlmaLinux:9nodejs-devel1:22.15.0-1.module_el9.6.0+164+2d89b8edALSA-2025:7433
AlmaLinux:8nodejs-docs1:22.15.0-1.module_el8.10.0+3986+a908e756ALSA-2025:4459
AlmaLinux:9nodejs-docs1:22.15.0-1.module_el9.6.0+164+2d89b8edALSA-2025:7433
AlmaLinux:8nodejs-full-i18n1:22.15.0-1.module_el8.10.0+3986+a908e756ALSA-2025:4459
AlmaLinux:9nodejs-full-i18n1:22.15.0-1.module_el9.6.0+164+2d89b8edALSA-2025:7433
AlmaLinux:8nodejs-libs1:22.15.0-1.module_el8.10.0+3986+a908e756ALSA-2025:4459
AlmaLinux:9nodejs-libs1:22.15.0-1.module_el9.6.0+164+2d89b8edALSA-2025:7433
AlmaLinux:8nodejs-nodemon3.0.1-1.module_el8.10.0+3983+391a1a04ALSA-2025:4459
AlmaLinux:9nodejs-nodemon3.0.1-1.module_el9.5.0+139+09296491ALSA-2025:7433
AlmaLinux:8nodejs-packaging2021.06-4.module_el8.10.0+3961+6a788e57ALSA-2025:4459
AlmaLinux:9nodejs-packaging2021.06-4.module_el9.5.0+139+09296491ALSA-2025:7433
AlmaLinux:8nodejs-packaging-bundler2021.06-4.module_el8.10.0+3961+6a788e57ALSA-2025:4459
AlmaLinux:9nodejs-packaging-bundler2021.06-4.module_el9.5.0+139+09296491ALSA-2025:7433
AlmaLinux:8npm1:10.9.2-1.22.15.0.1.module_el8.10.0+3986+a908e756ALSA-2025:4459
AlmaLinux:9npm1:10.9.2-1.22.15.0.1.module_el9.6.0+164+2d89b8edALSA-2025:7433
AlmaLinux:10sqlite3.46.1-4.el10_0ALSA-2025:7517
AlmaLinux:10sqlite-devel3.46.1-4.el10_0ALSA-2025:7517
AlmaLinux:10sqlite-libs3.46.1-4.el10_0ALSA-2025:7517
AlmaLinux:8v8-12.4-devel3:12.4.254.21-1.22.15.0.1.module_el8.10.0+3986+a908e756ALSA-2025:4459
AlmaLinux:9v8-12.4-devel3:12.4.254.21-1.22.15.0.1.module_el9.6.0+164+2d89b8edALSA-2025:7433
Alpine:v3.22qt6-qtwebengine6.8.2-r4ALPINE-CVE-2025-3277
Alpine:v3.23qt6-qtwebengine6.8.2-r4ALPINE-CVE-2025-3277
Alpine:v3.24qt6-qtwebengine6.8.2-r4ALPINE-CVE-2025-3277
Alpine:v3.21sqlite3.48.0-r1ALPINE-CVE-2025-3277
Debian:13sqlite33.46.1-3DEBIAN-CVE-2025-3277
Debian:14sqlite33.46.1-3DEBIAN-CVE-2025-3277
Rocky Linux:8nodejs1:22.15.0-1.module+el8.10.0+1971+0bb08eceRLSA-2025:4459
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2025:4459
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2025:4459
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2025:4459
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2025:4459
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2025:4459
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2025:4459
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2025:4459
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2025:4459
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2025:4459
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.5.0+31785+5534beb0RLSA-2025:7433
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.5.0+31770+0da7192dRLSA-2025:7433
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1667+4a788d89RLSA-2025:4459
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.9.0+1419+1f26ef47RLSA-2025:4459
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1989+e60144d9RLSA-2025:4459
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1988+437f3d23RLSA-2025:4459
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1924+614dc87fRLSA-2025:4459
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1824+532140eeRLSA-2025:4459
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1823+b5789597RLSA-2025:4459
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.5.0+31786+d18c719dRLSA-2025:7433
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.5.0+31785+5534beb0RLSA-2025:7433
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.5.0+31770+0da7192dRLSA-2025:7433
Rocky Linux:10sqlite0:3.46.1-4.el10_0RLSA-2025:7517
Ubuntu:22.04:LTSsqlite33.37.2-2ubuntu0.4USN-7528-1
Ubuntu:24.04:LTSsqlite33.45.1-1ubuntu2.3UBUNTU-CVE-2025-3277
Ubuntu:24.04:LTSsqlite33.45.1-1ubuntu2.3USN-7528-1

Affected products (as reported)

VendorProductVersions
SQLite sqlite < 3.49.1

Weakness: CWE-122 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L

References