{"id":"CVE-2026-9516","aliases":["CVE-2026-9516"],"related":[],"kind":"vulnerability","state":"published","title":"Cpanel::JSON::XS versions before 4.41 for Perl allow denial of service via UTF-8 BOM prefixed input when a decode filter callback throws","summary":"Cpanel::JSON::XS versions before 4.41 for Perl allow denial of service via UTF-8 BOM prefixed input when a decode filter callback throws.\n\nTo skip a leading 3-byte UTF-8 BOM, decode_json() advances the input scalar's string pointer past the mark with SvPV_set() and restores it only on the normal return path. When decoding aborts through a Perl exception, for example a filter_json_object callback that croaks, the restore is skipped and the scalar is left with its string pointer offset into its own buffer and a shortened length.\n\nWhen that scalar is later freed, the allocator receives an invalid pointer and the interpreter aborts. A single BOM prefixed document decoded with a throwing filter callback crashes any caller.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cpanel::JSON::XS versions before 4.41 for Perl allow denial of service via UTF-8 BOM prefixed input when a decode filter callback throws.\n\nTo skip a leading 3-byte UTF-8 BOM, decode_json() advances the input scalar's string pointer past the mark with SvPV_set() and restores it only on the normal return path. When decoding aborts through a Perl exception, for example a filter_json_object callback that croaks, the restore is skipped and the scalar is left with its string pointer offset into its own buffer and a shortened length.\n\nWhen that scalar is later freed, the allocator receives an invalid pointer and the interpreter aborts. A single BOM prefixed document decoded with a throwing filter callback crashes any caller.","source":"cvelist"},{"lang":"es","text":"Las versiones de Cpanel::JSON::XS anteriores a la 4.41 para Perl permiten la denegación de servicio a través de una entrada prefijada con BOM UTF-8 cuando una devolución de llamada de filtro de decodificación lanza una excepción.\n\nPara omitir un BOM UTF-8 inicial de 3 bytes, decode_json() avanza el puntero de cadena del escalar de entrada más allá de la marca con SvPV_set() y lo restaura solo en la ruta de retorno normal. Cuando la decodificación se aborta a través de una excepción de Perl, por ejemplo, una devolución de llamada filter_json_object que falla, la restauración se omite y el escalar queda con su puntero de cadena desplazado dentro de su propio búfer y una longitud acortada.\n\nCuando ese escalar se libera posteriormente, el asignador recibe un puntero no válido y el intérprete se aborta. Un único documento prefijado con BOM decodificado con una devolución de llamada de filtro que lanza una excepción bloquea a cualquier llamador.","source":"nvd"}],"published":"2026-06-03T00:15:51.685Z","modified":"2026-07-22T19:10:00.120Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-755","CWE-763"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"4.41","status":"affected"}],"vendor":"RURBAN","product":"Cpanel::JSON::XS","package":"Cpanel-JSON-XS","repo":"https://github.com/rurban/Cpanel-JSON-XS","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.41"}],"vendor":"rurban","product":"cpanel::json::xs","cpe":"cpe:2.3:a:rurban:cpanel\\:\\:json\\:\\:xs:*:*:*:*:*:perl:*:*","source":"nvd"}],"references":[{"url":"https://github.com/rurban/Cpanel-JSON-XS/commit/dfe1b41a36caba51dc12a2917fe50285d1ffaa7b.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.41/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/03/5","tags":["mailing-list","patch","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-03T15:58:42.977Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9516","url":"https://www.cve.org/CVERecord?id=CVE-2026-9516","licence":"CVE Terms of Use","modified":"2026-06-03T15:58:49.426Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9516","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9516","licence":"Public domain","modified":"2026-07-22T19:10:00.120Z"}],"updatedAt":"2026-11-25T22:59:23.623Z","epss":{"score":0.00361,"percentile":0.31874,"date":"2026-12-01T12:00:22.000Z"}}