PT-2026-55851 · Mojojson · Mojojson+1
CVE-2026-14803
·
Published
2026-07-06
·
Updated
2026-07-24
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Mojo::JSON versions prior to 9.47
Description
The pure-Perl decoder allows memory exhaustion due to unbounded recursion. Specifically, the decode path where
decode value() dispatches to decode array() and decode object() lacks a depth limit, enabling a small but deeply nested JSON document to consume excessive memory. This issue occurs when Cpanel::JSON::XS is not installed or the MOJO NO JSON XS=1 variable is set. Callers decoding untrusted JSON bodies, such as those using Mojo::Message::json via $c->req->json, may experience process memory exhaustion leading to a denial of service.Recommendations
Update to version 9.47 or later.
As a temporary mitigation, ensure Cpanel::JSON::XS is installed and the
MOJO NO JSON XS variable is not set to 1 to avoid the pure-Perl decode path.Exploit
Fix
DoS
Uncontrolled Recursion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cpanel::Json::Xs
Mojojson