CVE-2024-21907: newtonsoft.json · Improper Handling of Exceptional Conditions
Affects newtonsoft.jsonSource CVE Database V5
Not known to be exploited · 32% EPSS · CVSS 7.5 High : upgrade to 13.0.1 soon.
Data as of 26 Oct 2026, 08:11 UTC
- EPSS
- 32.9% chance of exploitation in 30 days – higher than 98% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 13.0.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade newtonsoft.json to 13.0.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
NuGetnewtonsoft.jsonpkg:nuget/newtonsoft.jsonOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Newtonsoft.Json version 13.0.1. Users should upgrade to version 13.0.1 or later to remediate this vulnerability. No other mitigation or temporary workaround is indicated in the provided data.
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.
References
- github.com/JamesNK/Newtonsoft.Json/issues/2457 (opens in a new tab)
- github.com/JamesNK/Newtonsoft.Json/pull/2462 (opens in a new tab)
- github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66 (opens in a new tab)
- alephsecurity.com/2018/10/22/StackOverflowException/ (opens in a new tab)
- alephsecurity.com/vulns/aleph-2018004 (opens in a new tab)
- security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678 (opens in a new tab)
- github.com/advisories/GHSA-5crp-9r3c-p9vr (opens in a new tab)
- vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr (opens in a new tab)