Cpanel::JSON::XS accepts malformed UTF-8 in bare hash keys under allow_barekey
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
Cpanel::JSON::XS versions from 4.33 before 4.80 for Perl accept malformed UTF-8 in bare hash keys when utf8 and allow_barekey are enabled. A quoted key is checked as UTF-8, but a bare key's bytes are stored as a UTF-8 flagged string without any check, so malformed UTF-8, control bytes and backslashes reach the decoded hash. The same bytes in a quoted key or a value are rejected, and later operations on the key, including lc, uc or re-encoding the hash, die with a malformed UTF-8 error.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
Cpanel::JSON::XS versions from 4.33 before 4.80 for Perl accept malformed UTF-8 in bare hash keys under allow_barekey in decode_hv. With utf8 and allow_barekey, which relaxed enables, a quoted key is validated as UTF-8 but a bare key's bytes are stored as a UTF-8 flagged string without any check. Malformed UTF-8, control bytes and backslashes reach the decoded hash, while malformed UTF-8 and control bytes in a quoted key or a value are rejected. Later operations on the key, including lc, uc or encoding the hash again, die with a malformed UTF-8 error.
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Cpanel-JSON-XS | 4.33 to before 4.80 | 4.80 | Patch available | CNA |
- Cpanel-JSON-XS Vendor— Affected 4.33 to before 4.80 Fixed in 4.80 Patch available CNA
Remediation
Upgrade Cpanel::JSON::XS to version 4.80 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA Cpanel-JSON-XS Fixed in 4.80
Vendor assessments
Timeline
- 2026-10-20 Threatist record created from CVE-2026-110675
- 2026-10-20 Alias added: GHSA-9hvc-g7pw-p4j7
- 2026-10-20 Affected versions changed · Red Hat
- 2026-10-20 CVSS score added · Red Hat
- 2026-10-21 CVSS score changed · Red Hat
- 2026-10-29 CVSS score added · CISA ADP
- 2026-10-29 CISA SSVC decision points changed
- 2026-10-29 Priority changed: LOW → MEDIUM
References
Sources
- CVE-2026-110675 · CVE Program
- CVE-2026-110675 · NVD
- FIRST EPSS
- GHSA-9hvc-g7pw-p4j7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-110675 · 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