Vulnerability · Published Jul 6, 2026 · Assigned by CPANSec

CVE-2026-14803Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder

Medium 6.5

In plain English

A medium-severity security flaw in Mojo::JSON from SRI. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.5%top 55.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libmojolicious-perlno fix listedDEBIAN-CVE-2026-14803
Debian:13libmojolicious-perlno fix listedDEBIAN-CVE-2026-14803
Debian:14libmojolicious-perl9.47+dfsg-1DEBIAN-CVE-2026-14803
Ubuntu:22.04:LTSlibmojolicious-perlno fix listedUBUNTU-CVE-2026-14803
Ubuntu:24.04:LTSlibmojolicious-perlno fix listedUBUNTU-CVE-2026-14803
Ubuntu:25.10libmojolicious-perlno fix listedUBUNTU-CVE-2026-14803
Ubuntu:26.04:LTSlibmojolicious-perlno fix listedUBUNTU-CVE-2026-14803
Ubuntu:26.10libmojolicious-perlno fix listedUBUNTU-CVE-2026-14803

Affected products (as reported)

VendorProductVersions
SRI Mojo::JSON 0 – before 9.47

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References