Bug 2392894 (CVE-2025-57052)

Summary: CVE-2025-57052 cJSON: out-of-bounds access in decode_array_index_from_pointer() in cJSON_Utils.c via crafted JSON pointer strings
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anthomas, ehelms, ggainey, juwatts, mhulan, nmoumoul, osousa, pcreech, rchan, smallamp, tmalecek
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the cJSON library. A specially crafted JSON pointer string can cause an out-of-bounds access in the decode_array_index_from_pointer function in the cJSON_Utils.c file due to improper array bounds checking, causing a crash to the application linked to the library and resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2392945, 2392946, 2392948, 2392949, 2392951, 2392947, 2392950    
Bug Blocks:    

Description OSIDB Bzimport 2025-09-03 15:01:36 UTC
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.

Comment 2 errata-xmlrpc 2025-10-08 19:04:16 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.17 for RHEL 9

Via RHSA-2025:17606 https://access.redhat.com/errata/RHSA-2025:17606

Comment 3 errata-xmlrpc 2025-10-08 19:22:33 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.16 for RHEL 8
  Red Hat Satellite 6.16 for RHEL 9

Via RHSA-2025:17613 https://access.redhat.com/errata/RHSA-2025:17613

Comment 4 errata-xmlrpc 2025-10-08 19:24:35 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.15 for RHEL 8

Via RHSA-2025:17614 https://access.redhat.com/errata/RHSA-2025:17614