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

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-07-06T01:34:43.872Z
- Modified: 2026-10-25T15:10:00.147Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Mojolicious: before 9.47

## References

- <https://github.com/mojolicious/mojo/commit/cc38b0554275c4d84f6b8b49bcbbc1bec2068fe1.patch> (patch)
- <https://metacpan.org/release/SRI/Mojolicious-9.47/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/07/06/2>

## Sources

- CVE List: [CVE-2026-14803](https://www.cve.org/CVERecord?id=CVE-2026-14803), CVE Terms of Use, modified 2026-07-06
- NVD: [CVE-2026-14803](https://nvd.nist.gov/vuln/detail/CVE-2026-14803), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-14803 · Whole record: https://cve.day/CVE-2026-14803.json · Rebuilt by cve.day 2026-11-25T22:59:27.185Z
