CVE-2026-14803
published medium CVSS 3.1 · 6.5Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SRI | — | MojoliciousMojo::JSON · 0 to < 9.47 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3209 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | perl-Mojoliciousnoarch | Listed in advisory | Not stated | ALAS2023-2026-3209 |
| Amazon Linux | AL2023 | perl-Mojolicioussrc | Listed in advisory | Not stated | ALAS2023-2026-3209 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SRI | Mojo::JSON | 0 to < 9.47 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-674 CWE-674 Uncontrolled Recursion
References
3Provider assertions
3CPANSec · cna
Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 58dbc7e8c4f383bff2941e4627b346ab4edd0598ba7aec0e4e24fc4ca523a451
- Ingested
- 23 Sep 2026, 09:01:59 UTC
- Source record
- Official CVE record