Out-of-bounds Read Affecting cjson package, versions <1.7.17-1ubuntu0.1~esm3


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.26% (18th 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-10288334
  • published17 Jan 2026
  • disclosed23 May 2025

Introduced: 23 May 2025

CVE-2023-53154  (opens in a new tab)
CWE-125  (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.

parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_ParseWithLength is called.

CVSS Base Scores

version 3.1