# CVE-2025-29087: lemon: In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL functioncan cause memory to be written beyond the...

CVE-2025-29087 is fixed in 5 products on 1 platform, first by DEBIAN-CVE-2025-29087, released April 7, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-29087
- Priority: High
- CVSS: 7.5 (Medium)
- EPSS: 0.0053
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 7, 2025

## Description

In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL functioncan 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 ofthe result buffer, and thus malloc may not allocate enough memory.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | lemon Ubuntu 24.04.5 LTS (noble) | 3.45.1-1ubuntu2.3 | [lemon 3.45.1-1ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-lemon-3.45.1-1ubuntu2.3.md) | Oct 24, 2025 |
| Linux | lemon Ubuntu 24.10 (oracular) | 3.46.1-1ubuntu0.2 | [lemon 3.46.1-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-lemon-3.46.1-1ubuntu0.2.md) | Jan 16, 2026 |
| Linux | libsqlite3-0 Ubuntu 24.04.5 LTS (noble) | 3.45.1-1ubuntu2.3 | [libsqlite3-0 3.45.1-1ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libsqlite3-0-3.45.1-1ubuntu2.3.md) | Oct 24, 2025 |
| Linux | libsqlite3-0 Ubuntu 24.10 (oracular) | 3.46.1-1ubuntu0.2 | [libsqlite3-0 3.46.1-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libsqlite3-0-3.46.1-1ubuntu0.2.md) | Jan 16, 2026 |
| Linux | libsqlite3-tcl Ubuntu 24.04.5 LTS (noble) | 3.45.1-1ubuntu2.3 | [libsqlite3-tcl 3.45.1-1ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libsqlite3-tcl-3.45.1-1ubuntu2.3.md) | Oct 24, 2025 |
| Linux | libsqlite3-tcl Ubuntu 24.10 (oracular) | 3.46.1-1ubuntu0.2 | [libsqlite3-tcl 3.46.1-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libsqlite3-tcl-3.46.1-1ubuntu0.2.md) | Jan 16, 2026 |
| Linux | sqlite3 Debian 13.5 (trixie) | 3.46.1-3 | [DEBIAN-CVE-2025-29087](https://patchblox.com/security/data/fix/linux/debian-cve-2025-29087.md) | Apr 7, 2025 |
| Linux | sqlite3 Debian 14 | 3.46.1-3 | [DEBIAN-CVE-2025-29087](https://patchblox.com/security/data/fix/linux/debian-cve-2025-29087.md) | Apr 7, 2025 |
| Linux | sqlite3 Ubuntu 24.04.5 LTS (noble) | 3.45.1-1ubuntu2.3 | [sqlite3 3.45.1-1ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-sqlite3-3.45.1-1ubuntu2.3.md) | Oct 24, 2025 |
| Linux | sqlite3 Ubuntu 24.10 (oracular) | 3.46.1-1ubuntu0.2 | [sqlite3 3.46.1-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-sqlite3-3.46.1-1ubuntu0.2.md) | Jan 16, 2026 |
| Linux | sqlite3 opensuse-leap 15.6 | 3.49.1-150000.3.27.1 | [SUSE-SU-2025:1456-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1456-1.md) | May 7, 2025 |
| Linux | sqlite3 sles 15.6 | 3.49.1-150000.3.27.1 | [SUSE-SU-2025:1456-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1456-1.md) | May 7, 2025 |
| Linux | sqlite3 sles 15.7 | 3.49.1-150000.3.27.1 | [SUSE-SU-2025:01456-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-01456-1.md) | May 31, 2025 |
| Linux | sqlite3-tools Ubuntu 24.04.5 LTS (noble) | 3.45.1-1ubuntu2.3 | [sqlite3-tools 3.45.1-1ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-sqlite3-tools-3.45.1-1ubuntu2.3.md) | Oct 24, 2025 |
| Linux | sqlite3-tools Ubuntu 24.10 (oracular) | 3.46.1-1ubuntu0.2 | [sqlite3-tools 3.46.1-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-sqlite3-tools-3.46.1-1ubuntu0.2.md) | Jan 16, 2026 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
