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

- Severity: High 7.5 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.74%, higher than 78% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-12T16:13:27.974Z
- Modified: 2026-09-10T03:50:04.141Z
- Also known as: GHSA-4jq9-2xhw-jpx7
- Weaknesses: CWE-358, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Google

## 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.

(As written by CVE List.)

## Affected

- https://github.com/stleary/JSON-java: up to 20230618
- org.json:json (Maven): before 20231013
- stleary json-java: up to 20230618

## Every score

- Google: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/stleary/JSON-java/issues/771> (exploit, issue-tracking, web)
- <https://github.com/stleary/JSON-java/issues/758> (issue-tracking, web)
- <http://www.openwall.com/lists/oss-security/2023/12/13/4>
- <https://security.netapp.com/advisory/ntap-20240621-0007/>
- <https://github.com/google/security-research/security/advisories/GHSA-4jq9-2xhw-jpx7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5072> (advisory)
- <https://github.com/stleary/JSON-java/pull/759> (web)
- <https://github.com/stleary/JSON-java/commit/60662e2f8384d3449822a3a1179bfe8de67b55bb> (web)
- <https://github.com/stleary/JSON-java> (package)

## Sources

- CVE List: [CVE-2023-5072](https://www.cve.org/CVERecord?id=CVE-2023-5072), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-4jq9-2xhw-jpx7](https://github.com/advisories/GHSA-4jq9-2xhw-jpx7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-5072](https://nvd.nist.gov/vuln/detail/CVE-2023-5072), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-5072 · Whole record: https://cve.day/CVE-2023-5072.json · Rebuilt by cve.day 2026-11-25T22:58:28.714Z
