CVE Catalog

CVE-2026-68914

HighCVSS 8.7
Published: Translated: NVD NIST

Summary

Mojolicious is a real-time web framework for Perl. Prior to 9.47, the pure-Perl implementation of Mojo::JSON does not limit nesting depth when Cpanel::JSON::XS is unavailable or MOJO_NO_JSON_XS is enabled. An attacker who can supply untrusted JSON to decode_json, from_json, or j can submit deeply nested arrays or objects, causing unbounded recursion, memory exhaustion, and a process crash. Applications using the Cpanel::JSON::XS backend are not affected because that backend already enforces a nesting limit. This issue is fixed in version 9.47.

Risk Assessment

An attacker can cause application crashes (denial of service) by sending specially crafted JSON, potentially disrupting service availability.

Recommendation

Update Mojolicious to version 9.47 or later. If not possible, ensure Cpanel::JSON::XS is available and MOJO_NO_JSON_XS is not enabled.

Other vulnerabilities in Mojolicious

See all
Original NVD description (English source)

Mojolicious is a real-time web framework for Perl. Prior to 9.47, the pure-Perl implementation of Mojo::JSON does not limit nesting depth when Cpanel::JSON::XS is unavailable or MOJO_NO_JSON_XS is enabled. An attacker who can supply untrusted JSON to decode_json, from_json, or j can submit deeply nested arrays or objects, causing unbounded recursion, memory exhaustion, and a process crash. Applications using the Cpanel::JSON::XS backend are not affected because that backend already enforces a nesting limit. This issue is fixed in version 9.47.

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