CVE-2026-14803
MEDIUMMojo::JSON < 9.47 - Memory Exhaustion via Unbounded Recursion
Title source: manualDescription
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.
References (3)
Core 3
Core References
Patch patch
https://github.com/mojolicious/mojo/commit/cc38b0554275c4d84f6b8b49bcbbc1bec2068fe1.patch
Release Notes release-notes
https://metacpan.org/release/SRI/Mojolicious-9.47/changes
Scores
CVSS v3
6.5
EPSS
0.0033
EPSS Percentile
25.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-674
Status
published
Products (1)
SRI/Mojo::JSON
< 9.47
Published
Jul 06, 2026
Tracked Since
Jul 06, 2026