CVE-2023-30421 Denial of service in mjson
An attacker can cause a denial of service in the mjson library by providing specific digit strings that trigger excessive processing iterations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-30421?
CVE-2023-30421 is a low-severity denial of service vulnerability in mjson, published on 19 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
mystrtod in mjson 1.2.7 requires more than a billion iterations during processing of certain digit strings such as 8891110122900e913013935755114.
Weakness: CWE-407
Which versions are affected by CVE-2023-30421?
How do I fix CVE-2023-30421?
No fix has been published for CVE-2023-30421 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-30421 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30421 exists.
Sources
Also known as GHSA-rqfj-9wmv-vpgp.