Bug 2555759 (CVE-2026-110674) - CVE-2026-110674 perl-Cpanel-JSON-XS: perl-cpanel-json-xs: Denial of Service via duplicate non-ASCII bare keys
Summary: CVE-2026-110674 perl-Cpanel-JSON-XS: perl-cpanel-json-xs: Denial of Service v...
Keywords:
Status: NEW
Alias: CVE-2026-110674
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-19 18:34 UTC by OSIDB Bzimport
Modified: 2026-10-20 14:21 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-19 18:34:59 UTC
Cpanel::JSON::XS versions from 4.33 before 4.80 for Perl miss duplicate non-ASCII bare keys, allowing type confusion under dupkeys_as_arrayref in decode_hv.

With allow_barekey, which relaxed enables, a bare key containing a non-ASCII byte is stored as UTF-8 but looked up as raw bytes, so a repeated key escapes the duplicate-key check and replaces the earlier value.

From 4.41, under dupkeys_as_arrayref, a bare repeat replaces the array that collects a key's values with a plain value, and the next quoted repeat pushes onto that value as if it were an array. A JSON integer there is dereferenced as a pointer.

Untrusted JSON decoded with relaxed and dupkeys_as_arrayref can crash the process or dereference an address chosen by a JSON number.


Note You need to log in before you can comment on or make changes to this bug.