{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "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. To 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. When 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.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-Cpanel-JSON-XS-2026-9516 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-cpanel-json-xs-2026-9516.json" }, { "category": "external", "summary": "https://github.com/rurban/Cpanel-JSON-XS/commit/dfe1b41a36caba51dc12a2917fe50285d1ffaa7b.patch", "url": "https://github.com/rurban/Cpanel-JSON-XS/commit/dfe1b41a36caba51dc12a2917fe50285d1ffaa7b.patch" }, { "category": "external", "summary": "https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.41/changes", "url": "https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.41/changes" }, { "category": "external", "summary": "http://www.openwall.com/lists/oss-security/2026/06/03/5", "url": "http://www.openwall.com/lists/oss-security/2026/06/03/5" }, { "category": "external", "summary": "CVE-2026-9516 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-9516" } ], "title": "Cpanel-JSON-XS vulnerability", "tracking": { "current_release_date": "2026-06-03T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-Cpanel-JSON-XS-2026-9516", "initial_release_date": "2026-06-03T00:00:00", "revision_history": [ { "date": "2026-06-03T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/<4.41", "product": { "name": "Cpanel-JSON-XS less than 4.41", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/Cpanel-JSON-XS" } } }, { "category": "product_version_range", "name": "vers:cpan/>=4.41", "product": { "name": "Cpanel-JSON-XS greater than or equal 4.41", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/Cpanel-JSON-XS" } } } ], "category": "product_name", "name": "Cpanel-JSON-XS" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-9516", "cwe": { "id": "CWE-755", "name": "Improper Handling of Exceptional Conditions" }, "notes": [ { "category": "description", "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.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 7.5, "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }