CVE-2024-27454: orjson · Uncontrolled Recursion
Affects orjsonSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 3.9.15 soon.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 67% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.9.15
CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade orjson to 3.9.15.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIorjsonpkg:pypi/orjsonOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-27454, organizations should immediately upgrade orjson to version 3.9.15 or later, where recursion limits have been implemented to prevent this vulnerability. If upgrading is not immediately feasible, implement input validation and sanitization to detect and reject JSON documents with excessive nesting depth before deserialization. Employ runtime monitoring and resource limits (such as CPU and memory quotas) on services processing JSON to detect and contain abnormal resource consumption. Consider using alternative JSON libraries with built-in recursion protections if orjson cannot be updated promptly. Additionally, apply network-level protections such as web application firewalls (WAFs) to block suspicious payloads and rate-limit requests to reduce exposure to denial of service attempts. Regularly audit dependencies and maintain an inventory of libraries to ensure timely patching of known vulnerabilities. Finally, incorporate fuzz testing and security testing focused on JSON parsing to proactively identify similar issues in development.
Description
orjson.loads in orjson before 3.9.15 does not limit recursion for deeply nested JSON documents.