Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2024-21907: Denial of service in Newtonsoft.Json deserialization

Published Jan 3, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS2.5%85th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
Newtonsoft
IdentifiersCVE-2024-21907CWE-755 · Improper Handling of Exceptional…

CVE-2024-21907 is an improper handling of exceptional conditions vulnerability in Newtonsoft.Json versions before 13.0.1. Crafted JSON, including deeply nested structures, processed by JsonConvert.DeserializeObject can trigger a StackOverflow exception and cause denial of service in the consuming application. Depending on how the application exposes deserialization functionality, exploitation may be possible remotely without authentication.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Exploitation can crash an affected application or make its service unavailable through stack exhaustion. Resource exhaustion is also possible depending on the deserialization call context. Applications and services that deserialize attacker-controlled JSON using an affected Newtonsoft.Json version are exposed. Remote code execution is not established; an isolated claim involving Microsoft HPC Pack conflicts with the otherwise consistent denial-of-service characterization.

Mitigation

If you can’t patch tonight, do this now.

As a temporary measure, configure a suitably restrictive MaxDepth in JsonSerializerSettings to limit the nesting depth accepted during deserialization. This stopgap does not replace upgrading the affected library or applying product-specific security updates.

Remediation

Patch, then assume compromise.

Upgrade Newtonsoft.Json to version 13.0.1 or later. For affected bundled deployments, install the corresponding product update: upgrade HCL CAMWorks 2026 SP0 to 2026SP03, and apply the relevant Microsoft September 2025 security updates to affected SQL Server releases. For affected Echo packages, the identified remediation is package version 10.0.1+echo.1 or later; this is a package-specific version rather than the upstream Newtonsoft.Json version.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
NewtonsoftJson.Netapplication
FAQ

Frequently asked questions

Is CVE-2024-21907 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2024-21907?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2024-21907.
Is there a patch for CVE-2024-21907?
Upgrade Newtonsoft.Json to version 13.0.1 or later. For affected bundled deployments, install the corresponding product update: upgrade HCL CAMWorks 2026 SP0 to 2026SP03, and apply the relevant Microsoft September 2025 security updates to affected SQL Server releases.
What products are affected by CVE-2024-21907?
Newtonsoft Json.Net.
How severe is CVE-2024-21907?
CVE-2024-21907 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 2.5% (85th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+1 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity8Community discussion across Reddit, Mastodon, and other social sources.