CVE-2025-29087 in SQLite 3.46.*
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.
- Severity
- High 7.5
- Exploitation
-
1% chance of exploit
in the next 30 days - Fix
- Update to 3.49.1
- Where
- Test dependency
- How it matched
- Version line match
- First seen
- 2026-11-05 01:13:58 UTC
- Source
- https://nvd.nist.gov/vuln/detail/CVE-2025-29087