JSON::SIMD Integer Buffer Overflow Vulnerability in Legacy Decoder Allowing Denial-of-Service

Vulnerability

A buffer overflow vulnerability has been identified in the JSON::SIMD Perl module, prior to version 1.07. The issue arises in the legacy decoder when it parses specially crafted JSON input, leading to an integer buffer overflow that causes a segmentation fault. This vulnerability can be exploited to create denial-of-service conditions or potentially allow for other unspecified impacts. The problem is exacerbated if the module is compiled with certain options enabled, although these are not the default in most binary distributions.

Impact

Exploitation of this vulnerability causes a segmentation fault, leading to a denial-of-service condition.

Reproduction

The vulnerability can be reproduced by using the JSON::SIMD module's legacy decoder to parse a specially crafted JSON string. This string should be designed to exploit the buffer overflow in the floating point number parser, which is inherited from JSON::XS. The JSON::SIMD module must be configured to use the legacy decoder, either by calling 'JSON::SIMD->new->use_simdjson(0)' or by compiling the module with 'USE_LONG_DOUBLE' or 'USE_QUADMATH' options, which are not default in most binary distributions.

Remediation

Users can upgrade to JSON::SIMD version 1.07 or later, where this vulnerability has been fixed.

Added: Sep 8, 2025, 3:23 PM
Updated: Sep 8, 2025, 7:28 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.4
remediation
0.0
relevance
0.5
threat
4.8
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.