cbcvebase.
CVE-2025-29087
published 2025-04-07

CVE-2025-29087: 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…

high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
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

11 ranges
VendorProductVersion rangeFixed in
debiansqlite3< sqlite3 3.46.1-3 (forky)sqlite3 3.46.1-3 (forky)
ghostsqlite3>= 0 < 3.46.1-33.46.1-3
ghostsqlite3>= 0 < 3.46.1-33.46.1-3
ghostsqlite3>= 0 < 3.31.1-4ubuntu0.73.31.1-4ubuntu0.7
ghostsqlite3>= 0 < 3.37.2-2ubuntu0.43.37.2-2ubuntu0.4
ghostsqlite3>= 0 < 3.45.1-1ubuntu2.33.45.1-1ubuntu2.3
msrcazl3_libdb_5.3.28-9_on_azure_linux_3.0
msrcazl3_sqlite_3.44.0-1_on_azure_linux_3.0
msrccbl2_libdb_5.3.28-7_on_cbl_mariner_2.0
msrccbl2_sqlite_3.39.2-3_on_cbl_mariner_2.0
sqlitesqlite>= 3.44.0 < 3.49.13.49.1

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH