Bug 2497222 (CVE-2026-14803) - CVE-2026-14803 Mojo::JSON: Mojo::JSON: Denial of Service via unbounded recursion in JSON decoder
Summary: CVE-2026-14803 Mojo::JSON: Mojo::JSON: Denial of Service via unbounded recurs...
Keywords:
Status: NEW
Alias: CVE-2026-14803
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2560562
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-06 02:01 UTC by OSIDB Bzimport
Modified: 2026-10-26 09:39 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-06 02:01:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.