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
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.
CVE-2026-110675
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-110675
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/rurban/Cpanel-JSON-XS",
"modules": [
"Cpanel::JSON::XS"
],
"versions": [
{
"status": "affected",
"version": "4.33",
"lessThan": "4.80",
"versionType": "custom"
}
],
"packageURL": "pkg:cpan/Cpanel-JSON-XS",
"packageName": "Cpanel-JSON-XS",
"programFiles": [
"XS.xs"
],
"collectionURL": "https://cpan.org/modules",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "decode_hv"
}
]
}
]- Related CVEs
- CVE-2026-110675
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #39684 · Revision 1
- Added to Heist Feed
- Publisher date