CVE-2025-29087: Integer Overflow
In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concatws() 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-29087?
CVE-2025-29087 is classified as a high severity vulnerability due to the potential for exploitation that can lead to crashes or code execution.
How do I fix CVE-2025-29087?
To fix CVE-2025-29087, upgrade to SQLite version 3.49.1 or later, which resolves the integer overflow issue.
What impact does CVE-2025-29087 have on SQLite users?
CVE-2025-29087 can lead to application crashes or unauthorized access due to integer overflow vulnerabilities in the concat function.
Is CVE-2025-29087 exploitable remotely?
CVE-2025-29087 may be exploitable remotely if an attacker can manipulate database inputs through vulnerable applications.
Who is affected by CVE-2025-29087?
All users of SQLite version 3.49.0 are affected by CVE-2025-29087 and should take immediate action to secure their systems.