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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sqlite3 | 3.46.1-3 | — |
| Debian 13 | sqlite3 | 3.46.1-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2025-1439 Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2025-1321 SaltStack Salt: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 12, 2026
- USN-7528-1 sqlite3 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2025:20323-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20395-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:01456-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:01455-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:01456-2 Security update for sqlite3 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:1456-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14991-1 libsqlite3-0-3.49.1-3.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1455-1 Security update for sqlite3 SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2025-0246 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Aug 12, 2025
- SSA-994087 SSA-994087: Multiple SQLite Vulnerabilities in RUGGEDCOM CROSSBOW Station Access Controller Before V5.7 Siemens ProductCERT · Aug 12, 2025
- ICSA-25-226-08 Siemens RUGGEDCOM CROSSBOW Station Access Controller CISA ICS & IT advisories · Aug 12, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- WID-SEC-2025-1595 IBM AIX und VIOS (SQLite): Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 17, 2025