Vulnerability · Published Apr 7, 2025 · Assigned by mitre

CVE-2025-29087

Low 3.2

In plain English

A low-severity integer 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 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.2Low
Exploit odds (30 days)0.5%top 54.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20sqlite3.45.3-r2ALPINE-CVE-2025-29087
Alpine:v3.21sqlite3.48.0-r1ALPINE-CVE-2025-29087
Debian:13sqlite33.46.1-3DEBIAN-CVE-2025-29087
Debian:14sqlite33.46.1-3DEBIAN-CVE-2025-29087
Ubuntu:22.04:LTSsqlite33.37.2-2ubuntu0.4USN-7528-1
Ubuntu:24.04:LTSsqlite33.45.1-1ubuntu2.3USN-7528-1
Ubuntu:24.04:LTSsqlite33.45.1-1ubuntu2.3UBUNTU-CVE-2025-29087

Affected products (as reported)

VendorProductVersions
SQLite SQLite 3.44.0 – before 3.49.1

Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L

References