CVE-2026-8295

Integer overflow in simdjson

Published May 14, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
An integer overflow vulnerability in the simdjson document-builder API allows incorrect buffer size calculations in "string_builder::escape_and_append()" when processing very large input strings on platforms with limited "size_t" width (e.g., 32-bit builds). The overflow can cause insufficient buffer allocation, leading to out-of-bounds memory reads in SIMD routines and potentially resulting in information disclosure, memory corruption, or malformed JSON output.
This vulnerability has been fixed in 4.6.4 release

Analysis

AI-generated

Technical impact

An integer overflow occurs in simdjson's document-builder API within the escape_and_append function, causing the calculated buffer size for very large input strings to wrap around on systems with 32‑bit size_t. This underallocation can lead to out‑of‑bounds reads inside SIMD routines, potentially exposing sensitive data, corrupting memory, or generating malformed JSON output. The flaw is exploitable when an attacker supplies an extremely large JSON string that the application parses.

Affected Systems

The vulnerability affects all releases of the simdjson library version 4.6.3 and earlier when installed on 32‑bit platforms or built with a 32‑bit size_t type. The fix was introduced in release 4.6.4. Systems using older versions of simdjson, especially those that process externally supplied JSON, are at risk.

Risk and Exploitability

The CVSS score of 6.9 indicates medium severity, and the vulnerability is not listed in CISA's KEV catalog. EPSS data is unavailable, so exploitation likelihood cannot be quantified from the current dataset. The likely attack vector is an application that builds JSON documents from untrusted input on a 32‑bit environment. An attacker who can supply such input could trigger out‑of‑bounds reads, leading to information disclosure or memory corruption, depending on the target process's privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade simdjson to version 4.6.4 or later
  • Rebuild the application on a 64‑bit platform or with a 64‑bit size_t to avoid the overflow
  • If an upgrade is not possible, implement input size validation to reject JSON strings that exceed safe limits before passing them to the document-builder API

Generated by OpenCVE AI on May 14, 2026 at 11:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Simdjson Project
Simdjson Project simdjson
Vendors & Products Simdjson Project
Simdjson Project simdjson
Type Values Removed Values Added
Description An integer overflow vulnerability in the simdjson document-builder API allows incorrect buffer size calculations in "string_builder::escape_and_append()" when processing very large input strings on platforms with limited "size_t" width (e.g., 32-bit builds). The overflow can cause insufficient buffer allocation, leading to out-of-bounds memory reads in SIMD routines and potentially resulting in information disclosure, memory corruption, or malformed JSON output. This vulnerability has been fixed in 4.6.4 release
Title Integer overflow in simdjson
Weaknesses CWE-190
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
CERT-PL
Published
Updated
May 14, 2026, 5:48 PM
Reserved
May 11, 2026, 9:30 AM
Status
Deferred
Published
May 14, 2026, 11:16 AM
Modified
Jun 17, 2026, 11:03 AM
Severity
Moderate
Public date
May 14, 2026, 10:27 AM