CVE-2024-21907Improper Handling of Exceptional Conditions in Newtonsoft.Json
- 7.5HighCVSS base score
- 32.9%Exploitation in 30 daysEPSS · top 1.6% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By VulnCheck
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 32.9% · top 1.6% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Newtonsoft.Json
- affected < 13.0.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- NuGetNewtonsoft.JsonGHSA-5crp-9r3c-p9vr (opens in a new tab)
References
References8
- https://github.com/JamesNK/Newtonsoft.Json/issues/2457 (opens in a new tab)issue-trackingx_transferred
- https://github.com/JamesNK/Newtonsoft.Json/pull/2462 (opens in a new tab)issue-trackingpatchrelatedx_transferred
- https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66 (opens in a new tab)patchrelatedx_transferred
- https://alephsecurity.com/2018/10/22/StackOverflowException/ (opens in a new tab)relatedx_transferred
- https://alephsecurity.com/vulns/aleph-2018004 (opens in a new tab)relatedx_transferred
- https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678 (opens in a new tab)relatedx_transferred
- GitHub Security Advisory (GHSA-5crp-9r3c-p9vr) (opens in a new tab)vendor-advisorythird-party-advisoryx_transferred
- https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr (opens in a new tab)third-party-advisoryx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-5935 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5crp-9r3c-p9vr (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-21907)Record last updated .