Improper Validation of Array Index Affecting cjson package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.74% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-CJSON-12487257
  • published4 Sept 2025
  • disclosed3 Sept 2025

Introduced: 3 Sep 2025

CVE-2025-57052  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 cjson.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cjson package and not the cjson package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.c, allowing remote attackers to bypass array bounds checking and access restricted data via malformed JSON pointer strings containing alphanumeric characters.

CVSS Base Scores

version 3.1