CVEfocus › CVE database › CVE-2026-14803

CVE-2026-14803Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion…

CVSS 6.5 MediumEPSS 0.5% (higher than 38% of CVEs)Published 2026-07-06Updated 2026-07-06Assigner: CPANSec

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.

CWE-674

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
6Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libmojolicious-perlFix pendingUBUNTU-CVE-2026-14803
Ubuntu 26.04libmojolicious-perlUnder investigationUBUNTU-CVE-2026-14803
Ubuntu 25.10libmojolicious-perlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-14803
Ubuntu 24.04libmojolicious-perlUnder investigationUBUNTU-CVE-2026-14803
Ubuntu 22.04libmojolicious-perlUnder investigationUBUNTU-CVE-2026-14803
Ubuntu 20.04libmojolicious-perlFix pendingUBUNTU-CVE-2026-14803
Ubuntu 18.04libmojolicious-perlFix pendingUBUNTU-CVE-2026-14803
Ubuntu 16.04libmojolicious-perlFix pendingUBUNTU-CVE-2026-14803
Debian 14libmojolicious-perlFixed9.47+dfsg-1DEBIAN-CVE-2026-14803
Debian 13libmojolicious-perlFix pendingDEBIAN-CVE-2026-14803
Debian 12libmojolicious-perlFix pendingDEBIAN-CVE-2026-14803

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to Mojolicious 9.47 or later.

Workaround: Where upgrading is not possible, install Cpanel::JSON::XS in the include path and leave `MOJO_NO_JSON_XS` unset.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.