CVE-2026-14803
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
6.5
(v3.1)
Vulnerability status
Deferred
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-07-06 02:16:21.683000
Last modified
2026-10-25 15:10:00.147000
View original CVE JSON
{
"id": "CVE-2026-14803",
"sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"published": "2026-07-06T02:16:21.683",
"lastModified": "2026-10-25T15:10:00.147",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder.\n\nThe 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.\n\nThis 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.\n\nAny 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."
},
{
"lang": "es",
"value": "Las versiones de Mojo::JSON anteriores a la 9.47 para Perl permiten el agotamiento de la memoria a través de recursión ilimitada en el decodificador pure-Perl.\n\nLa ruta de decodificación pure-Perl (’_decode_value’ que despacha a ’_decode_array’ y ’_decode_object’) recurre sin límite de profundidad, por lo que un documento JSON pequeño y profundamente anidado puede consumir memoria excesiva.\n\nEsta ruta es la predeterminada cuando Cpanel::JSON::XS no está instalado o ’MOJO_NO_JSON_XS=1’ está configurado; la ruta rápida de Cpanel::JSON::XS no se ve afectada.\n\nCualquier llamador que decodifique un cuerpo JSON no confiable, por ejemplo ’Mojo::Message::json’ alcanzado a través de ’$c -> req -> json’, puede agotar la memoria del proceso y causar denegación de servicio."
}
],
"affected": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"affectedData": [
{
"vendor": "SRI",
"product": "Mojo::JSON",
"defaultStatus": "unaffected",
"collectionURL": "https://cpan.org/modules",
"packageName": "Mojolicious",
"programFiles": [
"lib/Mojo/JSON.pm"
],
"programRoutines": [
{
"name": "Mojo::JSON::_decode_array"
},
{
"name": "Mojo::JSON::_decode_object"
}
],
"repo": "https://github.com/mojolicious/mojo",
"versions": [
{
"version": "0",
"lessThan": "9.47",
"versionType": "custom",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.8,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-06T18:50:20.863135Z",
"id": "CVE-2026-14803",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-674"
}
]
}
],
"references": [
{
"url": "https://github.com/mojolicious/mojo/commit/cc38b0554275c4d84f6b8b49bcbbc1bec2068fe1.patch",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "https://metacpan.org/release/SRI/Mojolicious-9.47/changes",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/07/06/2",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}