{"id":"CVE-2026-110675","state":"PUBLISHED","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","description":"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.\n\nWith 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.\n\nLater operations on the key, including lc, uc or encoding the hash again, die with a malformed UTF-8 error.","publishedAt":"2026-10-19T18:11:35.561Z","updatedAt":"2026-10-29T16:38:54.111Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["Cpanel-JSON-XS"],"affected":[{"packageName":"Cpanel-JSON-XS","packageURL":"pkg:cpan/Cpanel-JSON-XS","defaultStatus":"unaffected","versions":[{"version":"4.33","status":"affected","lessThan":"4.80","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Cpanel::JSON::XS"],"programFiles":["XS.xs"],"programRoutines":[{"name":"decode_hv"}],"repo":"https://github.com/rurban/Cpanel-JSON-XS"}],"references":["https://github.com/rurban/Cpanel-JSON-XS/commit/c2cd02281b9d6904ca0aff2740154e742abc070c.patch","https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.80/changes"],"weaknesses":["CWE-1286"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/110xxx/CVE-2026-110675.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-110675","state":"PUBLISHED","datePublished":"2026-10-19T18:11:35.561Z","dateUpdated":"2026-10-29T16:38:54.111Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-10-14T13:23:41.479Z"},"containers":{"cna":{"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","descriptions":[{"lang":"en","value":"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.\n\nWith 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.\n\nLater operations on the key, including lc, uc or encoding the hash again, die with a malformed UTF-8 error."}],"affected":[{"packageName":"Cpanel-JSON-XS","packageURL":"pkg:cpan/Cpanel-JSON-XS","defaultStatus":"unaffected","versions":[{"version":"4.33","status":"affected","lessThan":"4.80","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Cpanel::JSON::XS"],"programFiles":["XS.xs"],"programRoutines":[{"name":"decode_hv"}],"repo":"https://github.com/rurban/Cpanel-JSON-XS"}],"references":[{"url":"https://github.com/rurban/Cpanel-JSON-XS/commit/c2cd02281b9d6904ca0aff2740154e742abc070c.patch","tags":["patch"]},{"url":"https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.80/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1286","description":"CWE-1286 Improper Validation of Syntactic Correctness of Input","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-10-19T18:11:35.561Z"},"solutions":[{"lang":"en","value":"Upgrade to Cpanel-JSON-XS 4.80 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-10-14T00:00:00.000Z","value":"Version 4.80 released with fix."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.1,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T16:38:46.477835Z","id":"CVE-2026-110675","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T16:38:54.111Z"}}]}}}