CVE-2025-29087

published 7 Apr 2025 · updated 15 Oct 2026

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.

3.2LowCVSS 3.2EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.49.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
SQLite>=3.44.0 <3.49.13.49.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-29087 severity on Zeptric[![CVE-2025-29087](https://zeptric.io/badge/cve/CVE-2025-29087.svg)](https://zeptric.io/cve/CVE-2025-29087)