CVE Catalog

CVE-2026-14803

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.33%

25th percentile - higher than 25% of all known CVEs

Summary

Vulnerability in Mojo::JSON for Perl before version 9.47 causes memory exhaustion due to unbounded recursion in the pure-Perl JSON decoder. A deeply nested JSON document can exhaust process memory.

Risk Assessment

An attacker can send a crafted HTTP request with deeply nested JSON, leading to server memory exhaustion and denial of service (DoS). This affects the default decode path when Cpanel::JSON::XS is not installed.

Recommendation

Upgrade Mojo::JSON to version 9.47 or later immediately. Alternatively, install Cpanel::JSON::XS to use the safe fast decode path.

Original NVD description (English source)

Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder. The pure-Perl decode path (`_decode_value` dispatching to `_decode_array` and `_decode_object`) recurses with no depth limit, so a small deeply nested JSON document can consume excessive memory. This path is the default when Cpanel::JSON::XS is not installed or `MOJO_NO_JSON_XS=1` is set; the Cpanel::JSON::XS fast path is not affected. Any caller that decodes an untrusted JSON body, for example `Mojo::Message::json` reached through `$c->req->json`, can exhaust process memory and cause denial of service.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS