CVE-2026-9516Rurban Cpanel::json::xs
High 7.5 No auth needed
Follow: this CVE · Rurban · Rurban Cpanel::json::xs We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 3, 2026
- Updated
- Jul 22, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Cpanel::json::xs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rurban | cpanel::json::xs | < 4.41 |
Official advisories
- Security update for perl-Cpanel-JSON-XS · SUSE · SUSE-SU-2026:4926-1 · Oct 28, 2026 Critical
- Security update for perl-Cpanel-JSON-XS · SUSE · SUSE-SU-2026:2782-1 · Jul 6, 2026 High
- Security update for perl-Cpanel-JSON-XS · SUSE · openSUSE-SU-2026:21140-1 · Jun 19, 2026 High
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- metacpan.org Release Notes
- www.openwall.com Mailing List Patch Third Party Advisory