Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2024-21907 EUVD-2022-5935GHSA-5crp-9r3c-p9vr

Improper Handling of Exceptional Conditions in Newtonsoft.Json

Published Jan 3, 2024 · Updated Nov 8, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
— Newtonsoft.Json < 13.0.1 13.0.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS newtonsoft-json No fix yet —
Ubuntu 22.04 LTS newtonsoft-json No fix yet —
Ubuntu 20.04 LTS newtonsoft-json No fix yet —
Ubuntu 18.04 LTS newtonsoft-json No fix yet —
Ubuntu 16.04 LTS newtonsoft-json No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet Newtonsoft.Json < 13.0.1 13.0.1 GHSA-5crp-9r3c-p9vr

Advisories 2

References