Integer Overflow Vulnerability in simdjson Document-Builder API
CVE-2026-8295
What is CVE-2026-8295?
The simdjson library has a vulnerability related to integer overflow within its document-builder API, specifically in the 'string_builder::escape_and_append()' function. This issue arises when processing large input strings, particularly on 32-bit platforms where the size_t data type has limited width. The overflow can result in miscalculations of buffer sizes, leading to insufficient allocation. Consequently, this may trigger out-of-bounds memory reads within SIMD routines, presenting risks such as information disclosure, memory corruption, or the generation of malformed JSON outputs. Users are advised to upgrade to version 4.6.4 where this vulnerability has been addressed.
Affected Version(s)
simdjson 32 bit 0 < 4.6.4
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
