CVE-2024-21907
Improper Handling of Exceptional Conditions in Newtonsoft.Json
- State
- Published
- Severity
- 7.5 High
- Published
- Jan 3, 2024
- Updated
- Jul 14, 2026
- Reserved
- Jan 3, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Weaknesses
- CWE-755 Improper Handling of Exceptional Conditions
Affected Products
| Product | Versions |
|---|---|
Newtonsoft.Json |
|
References
- https://github.com/JamesNK/Newtonsoft.Json/issues/2457issue-tracking
- https://github.com/JamesNK/Newtonsoft.Json/pull/2462issue-tracking
- https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66patch
- https://alephsecurity.com/2018/10/22/StackOverflowException/related
- https://alephsecurity.com/vulns/aleph-2018004related
- https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678related
- https://github.com/advisories/GHSA-5crp-9r3c-p9vrvendor-advisory
- https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vrthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.