CVE-2025-57052 Affecting cjson package, versions <1.7.17-1ubuntu0.1~esm3


Severity

Recommended
medium

Based on Ubuntu 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-UBUNTU2404-CJSON-12488661
  • published17 Jan 2026
  • disclosed3 Sept 2025

Introduced: 3 Sep 2025

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

How to fix?

Upgrade Ubuntu:24.04 cjson to version 1.7.17-1ubuntu0.1~esm3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cjson package and not the cjson package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 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