Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-110674 EUVD-2026-104555GHSA-c92x-ph36-v6p2

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

Published Oct 19, 2026 · Updated Oct 29, 2026 · Assigned by CPANSec

Description

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.

Affected products

VendorProductAffectedFixed
— Cpanel-JSON-XS 4.33 – < 4.80 4.80

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcpanel-json-xs-perl 4.80-1 —
Debian 13 libcpanel-json-xs-perl No fix yet —
Debian 12 libcpanel-json-xs-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libcpanel-json-xs-perl No fix yet —
Ubuntu 26.04 LTS libcpanel-json-xs-perl No fix yet —
Ubuntu 24.04 LTS libcpanel-json-xs-perl No fix yet —
Ubuntu 22.04 LTS libcpanel-json-xs-perl No fix yet —
Ubuntu 20.04 LTS libcpanel-json-xs-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libcpanel-json-xs-perl No fix yet —
Ubuntu 16.04 LTS libcpanel-json-xs-perl No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-Cpanel-JSON-XS 4.800.0-150700.3.9.1 SUSE-SU-2026:4926-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Cpanel-JSON-XS 4.800.0-1.1 openSUSE-SU-2026:12217-1
openSUSE Leap 16.0 perl-Cpanel-JSON-XS 4.800.0-bp160.1.1 openSUSE-SU-2026:22187-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-Cpanel-JSON-XS No fix yet —

Advisories 3

References