CVE-2025-57052 Memory corruption in n/a
Remote attackers can bypass array bounds checking and access restricted data via malformed JSON pointer strings in the cJSON library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-57052?
CVE-2025-57052 is a critical memory corruption vulnerability in n/a, published on 3 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2025-57052?
It affects 1 product.
Products include Davegamble Cjson.
How do I fix CVE-2025-57052?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-57052 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-57052 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as ALPINE-CVE-2025-57052, DEBIAN-CVE-2025-57052, DLA-4304-1, DSA-6001-1, GHSA-98j5-4649-rfv2, OESA-2025-2374 and 5 more.