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

CVE-2024-21907 is fixed in 6 products on 1 platform, first by KB5065226, released September 9, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-21907
- Priority: Routine
- CVSS: n/a
- EPSS: 0.3291
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: yes
- Vendor exploitability assessment: Exploitation Less Likely
- Published: Sep 9, 2025
- Weakness: Dependency on Vulnerable Third-Party Component
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21907

## Description

<p><a href="https://www.cve.org/CVERecord?id=CVE-2024-21907">CVE-2024-21907</a> addresses a mishandling of exceptional conditions vulnerability in Newtonsoft.Json before version 13.0.1. 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. The documented SQL Server updates incorporate updates in Newtonsoft.Json which address this vulnerability.</p> <p>Please see <a href="https://www.cve.org/CVERecord?id=CVE-2024-21907">CVE-2024-21907</a> for more information.</p>

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Microsoft | Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR) |  | [KB5065226](https://patchblox.com/security/data/fix/microsoft/kb5065226.md) | Sep 9, 2025 |
| Microsoft | Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature Pack |  | [KB5065227](https://patchblox.com/security/data/fix/microsoft/kb5065227.md) | Sep 9, 2025 |
| Microsoft | Microsoft SQL Server 2017 for x64-based Systems (CU 31) |  | [KB5065225](https://patchblox.com/security/data/fix/microsoft/kb5065225.md) | Sep 9, 2025 |
| Microsoft | Microsoft SQL Server 2017 for x64-based Systems (GDR) |  | [KB5065224](https://patchblox.com/security/data/fix/microsoft/kb5065224.md) | Sep 9, 2025 |
| Microsoft | Microsoft SQL Server 2019 for x64-based Systems (CU 32) |  | [KB5065222](https://patchblox.com/security/data/fix/microsoft/kb5065222.md) | Sep 9, 2025 |
| Microsoft | Microsoft SQL Server 2019 for x64-based Systems (GDR) |  | [KB5065223](https://patchblox.com/security/data/fix/microsoft/kb5065223.md) | Sep 9, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
