CVE Catalog

CVE-2026-110675

Unknown
Published: Updated: Translated: NVD NIST

Summary

In the Cpanel::JSON::XS Perl library (versions 4.33 to 4.80), the allow_barekey option in decode_hv accepts malformed UTF-8 in bare keys because the key bytes are stored as a UTF-8 flagged string without validation. Later operations on such a key, such as lc, uc or re-encoding the hash, die with a malformed UTF-8 error.

Risk Assessment

Untrusted JSON can introduce malformed data into the application and cause errors or crashes during later key processing, leading to denial of service.

Recommendation

Update Cpanel::JSON::XS to version 4.80 or later and avoid enabling allow_barekey when processing untrusted data.

Other vulnerabilities in Cpanel::JSON::XS

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS