---
id: CVE-2026-110675
title: >-
  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
summary: >-
  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 …
severity: none
cwe:
  - CWE-1286
product: Cpanel-JSON-XS
affected:
  - Cpanel-JSON-XS >= 4.33 < 4.80
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T18:11:35.561Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-110675'
references:
  - url: >-
      https://github.com/rurban/Cpanel-JSON-XS/commit/c2cd02281b9d6904ca0aff2740154e742abc070c.patch
  - url: 'https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.80/changes'
tags:
  - cve.org
ingestedAt: '2026-10-19T18:35:50.145Z'
---

## Overview

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.

## Affected

- `Cpanel-JSON-XS >= 4.33 < 4.80`

## Remediation

Upgrade to Cpanel-JSON-XS 4.80 or later.
