CVE-2025-57052: Out-of-bounds Read

Published Sep 3, 2025
·
Updated

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

Affected Software

2 affected components
cJSON cJSON>=1.5.0<=1.7.18
DaveGamble cJSON>=1.5.0<=1.7.18

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Apply compensating controls for the exposed JSON pointer feature/functionality (e.g., restrict or sanitize usage of JSON pointer strings sent by untrusted/remote clients) to limit exploitation while upgrading from cJSON 1.5.0 through 1.7.18.

Event History

Sep 3, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via Red Hat·03:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-57052?

CVE-2025-57052 is classified as a high severity vulnerability due to the potential for remote code execution through out-of-bounds access.

2

How do I fix CVE-2025-57052?

To fix CVE-2025-57052, update cJSON to version 1.7.19 or later, which addresses the out-of-bounds access vulnerability.

3

What systems are affected by CVE-2025-57052?

CVE-2025-57052 affects cJSON versions from 1.5.0 through 1.7.18.

4

What type of attacks can exploit CVE-2025-57052?

CVE-2025-57052 can be exploited by remote attackers using malformed JSON pointer strings to access restricted data.

5

What functionality is impacted by CVE-2025-57052?

CVE-2025-57052 impacts the decode_array_index_from_pointer function, allowing array bounds checking to be bypassed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203