CVE-2024-27454 json
orjson does not limit recursion for deeply nested JSON documents
published 2024-02-26 2 y ago modified 2026-09-10 1 mo ago also GHSA-pwr2-4v36-6qpr , PYSEC-2024-40 , EUVD-2024-0130
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
orjson.loads in orjson before 3.9.15 does not limit recursion for deeply nested JSON documents.
Patch / fix
- pypi orjson 3.9.15
- orjson orjson 3.9.15
- python-orjson Debian 14, Debian 13 3.9.15-1
debian advisories DEBIAN-CVE-2024-27454
- python-orjson openSUSE Tumbleweed 3.11.9-1.4
- python-python-rapidjson openSUSE Tumbleweed 1.23-1.4
opensuse advisories openSUSE-SU-2026:12024-1openSUSE-SU-2026:12033-1
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.19% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ijl/orjson/issues/458 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | orjson | <3.9.15 |
3.9.15 |
Affected products
- orjson orjson
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/ijl/orjson/commit/b0e4d2c06ce06c6e63981bf0276e4b7c74e5845e
web, patch
-
github.com
/ijl/orjson/issues/458
web, exploit, issue-tracking, report
-
github.com
/ijl/orjson/blob/master/CHANGELOG.md#3915
web, release-notes
-
monicz.dev
/CVE-2024-27454
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2024-27454
advisory
-
github.com
/ijl/orjson
package
-
github.com
/pypa/advisory-database/tree/main/vulns/orjson/PYSEC-2024-40.yaml
web
-
github.com
/advisories/GHSA-pwr2-4v36-6qpr
advisory
Sources
- CVE List CVE-2024-27454
- GitHub Advisory GHSA-pwr2-4v36-6qpr
- NVD CVE-2024-27454
- OSV PYSEC-2024-40
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.