Improper handling of exceptional conditions in RURBAN Cpanel::JSON::XS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
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. 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Cpanel::JSON::XS (RURBAN) Fixed in 4.41
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
RURBAN Cpanel::JSON::XS 4.41
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-08187 Type confusion in RURBAN Cpanel::JSON::XSPriority LOW 38
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9516
- 2026-10-03 Alias added: GHSA-32gp-2g42-v9vc
- 2026-10-25 Priority changed: MEDIUM → LOW
References
More RURBAN Cpanel vulnerabilities
- TI-2022-24155 The Cpanel::JSON::XS package before 4.33 for Perl performs out-of-bounds accesses in a… CVSS 3.1CRITICAL 9.1
- TI-2026-08187 Type confusion in RURBAN Cpanel::JSON::XS CVSS 3.1HIGH 7.3
Sources
- CVE-2026-9516 · CVE Program
- CVE-2026-9516 · NVD
- FIRST EPSS
- GHSA-32gp-2g42-v9vc · GitHub Advisory Database · CC BY 4.0
- CVE-2026-9516 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences