Improper Validation of Array Index Affecting davegamble/cjson package, versions [1.5.0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (21st 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-UNMANAGED-DAVEGAMBLECJSON-12485341
  • published5 Sept 2025
  • disclosed3 Sept 2025
  • creditSalah Chafai

Introduced: 3 Sep 2025

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

How to fix?

There is no fixed version for davegamble/cjson.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index via the decode_array_index_from_pointer function when processing crafted JSON pointer strings. An attacker can cause a denial of service and unexpected behavior by supplying inputs with non-digit characters that trigger out-of-bounds access.

CVSS Base Scores

version 4.0
version 3.1