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

Published Jul 6, 2026
·
Updated

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

The pure-Perl decode path (decodevalue dispatching to decodearray and decodeobject) 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 MOJONOJSONXS=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 Software

1 affected component
Mojolicious Mojo::JSON (Perl)<9.47

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Mojo::JSON (Perl) to a version that resolves this vulnerability.

    Fixed in 9.47Patch CVE-2026-14803
  2. Configuration

    Ensure the pure-Perl JSON decoder is not used by unsetting MOJO_NO_JSON_XS (so the Cpanel::JSON::XS fast path is available), since the pure-Perl decode path has no recursion depth limit.

    Mojo::JSON / Mojolicious MOJO_NO_JSON_XS = 0

Event History

Jul 6, 2026
CVE Published
via MITRE·01:34 AM
Data Sourced
via MITRE·01:34 AM
RemedyDescriptionWeakness
Data Sourced
via NVD·02:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-14803?

CVE-2026-14803 has a risk score of 30, indicating a moderate severity vulnerability.

2

How do I fix CVE-2026-14803?

To fix CVE-2026-14803, upgrade your Mojo::JSON to version 9.47 or later.

3

What are the consequences of CVE-2026-14803?

CVE-2026-14803 can lead to memory exhaustion due to unbounded recursion when processing deeply nested JSON documents.

4

Which versions of Mojo::JSON are affected by CVE-2026-14803?

Mojolicious Mojo::JSON versions prior to 9.47 are affected by CVE-2026-14803.

5

Is there a known workaround for CVE-2026-14803?

There is no official workaround for CVE-2026-14803; upgrading to the fixed version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203