First published: Mon Apr 07 2025(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
SQLite | >=3.44.0<3.49.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-29087 is classified as a high severity vulnerability due to the potential for exploitation that can lead to crashes or code execution.
To fix CVE-2025-29087, upgrade to SQLite version 3.49.1 or later, which resolves the integer overflow issue.
CVE-2025-29087 can lead to application crashes or unauthorized access due to integer overflow vulnerabilities in the concat function.
CVE-2025-29087 may be exploitable remotely if an attacker can manipulate database inputs through vulnerable applications.
All users of SQLite version 3.49.0 are affected by CVE-2025-29087 and should take immediate action to secure their systems.