{"id":"CVE-2026-14803","published":"2026-07-06T01:34:43Z","modified":"2026-07-06T18:51:14Z","title":"Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder","vendor":"SRI","product":"Mojo::JSON","tier":"tail","description":{"text":"Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder.\n\nThe 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.\n\nThis 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.\n\nAny 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0053,"percentile":0.38245,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/mojolicious/mojo/commit/cc38b0554275c4d84f6b8b49bcbbc1bec2068fe1.patch","tags":["patch"]},{"url":"https://metacpan.org/release/SRI/Mojolicious-9.47/changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/06/2","tags":[]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":7.65},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"sri","affectedVersions":[{"vendor":"SRI","product":"Mojo::JSON","versions":["< 9.47"]}],"solutions":{"items":["Upgrade to Mojolicious 9.47 or later."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Where upgrading is not possible, install Cpanel::JSON::XS in the include path and leave `MOJO_NO_JSON_XS` unset."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-06T18:50:20.863135Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41798","exploited":false,"provenance":"source"}}