Home
MEDIUM: 6.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:LDefault status
unaffected
< 3.49.1
affected
Description
An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution.
Problem types
CWE-122 Heap-based Buffer Overflow
Product status
< 3.49.1
Credits
王跃林 (Yuelin Wang)
References
sqlite.org/src/info/498e3f1cf57f164f