Skip to content
OpenAdvisories
Low · 3.2 CVE-2025-29087 EUVD-2025-10312GHSA-6j35-rq42-fv6v

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-alloc…

Published Apr 7, 2025 · Updated Oct 15, 2026 · Assigned by mitre

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 products

VendorProductAffectedFixed
SQLite SQLite 3.44.0 – < 3.49.1 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
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 17 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 6.1 sqlite3 3.49.1-slfo.1.1_1.1 SUSE-SU-2025:20395-1
SLE Micro 6.0 sqlite3 3.49.1-1.1 SUSE-SU-2025:20323-1
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 Tumbleweed sqlite3 3.49.1-3.1 openSUSE-SU-2025:14991-1
openSUSE Leap 15.6 sqlite3 3.49.1-150000.3.27.1 SUSE-SU-2025:1456-1
ReleasePackageFixed inAdvisory
Alpine v3.21 sqlite 3.48.0-r1 —
Alpine v3.20 sqlite 3.45.3-r2 —
Alpine v3.19 sqlite 3.44.2-r1 —

Advisories 17

References