# CVE-2024-21907: Improper Handling of Exceptional Conditions in Newtonsoft.Json

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `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): 2.47%, higher than 85% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2022-06-22T15:08:47.000Z
- Modified: 2026-11-08T13:59:50.150Z
- Also known as: GHSA-5crp-9r3c-p9vr
- Weaknesses: CWE-755
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

Newtonsoft.Json before version 13.0.1 is affected by a mishandling of exceptional conditions vulnerability. Crafted data that is passed to the JsonConvert.DeserializeObject method may trigger a StackOverflow exception resulting in denial of service. Depending on the usage of the library, an unauthenticated and remote attacker may be able to cause the denial of service condition.

(As written by CVE List.)

## Affected

- Newtonsoft.Json: before 13.0.1
- Newtonsoft.Json (NuGet): before 13.0.1
- newtonsoft json.net: before 13.0.1

## Every score

- CISA-ADP: 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/JamesNK/Newtonsoft.Json/issues/2457> (exploit, issue-tracking, third-party-advisory, web)
- <https://alephsecurity.com/2018/10/22/StackOverflowException/> (exploit, related)
- <https://alephsecurity.com/vulns/aleph-2018004> (exploit, related, web)
- <https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678> (exploit, related, third-party-advisory, web)
- <https://github.com/JamesNK/Newtonsoft.Json/pull/2462> (issue-tracking, patch, related, web)
- <https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66> (patch, related, web)
- <https://github.com/advisories/GHSA-5crp-9r3c-p9vr> (third-party-advisory, vendor-advisory)
- <https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr> (third-party-advisory)
- <https://alephsecurity.com/2018/10/22/StackOverflowException> (web)
- <https://github.com/JamesNK/Newtonsoft.Json> (package)

## Sources

- CVE List: [CVE-2024-21907](https://www.cve.org/CVERecord?id=CVE-2024-21907), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-5crp-9r3c-p9vr](https://github.com/advisories/GHSA-5crp-9r3c-p9vr), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2024-21907](https://nvd.nist.gov/vuln/detail/CVE-2024-21907), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2024-21907 · Whole record: https://cve.day/CVE-2024-21907.json · Rebuilt by cve.day 2026-11-25T22:58:35.907Z
