Integer Overflow or Wraparound
CVE-2025-29087
Summary
In SQLite versions 3.44.0 through 3.44.3, 3.45.0 through 3.49.0, 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.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-190 - Integer Overflow or Wraparound
The software performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.
References
Advisory Timeline
- Published