CVE-2026-9334 Affecting libcpanel-json-xs-perl package, versions <4.41-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.41% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBCPANELJSONXSPERL-17099884
  • published30 May 2026
  • disclosed3 Jun 2026

Introduced: 30 May 2026

CVE-2026-9334  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libcpanel-json-xs-perl to version 4.41-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcpanel-json-xs-perl package and not the libcpanel-json-xs-perl package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref is enabled.

decode_hv() collapses duplicate object keys into an array reference under dupkeys_as_arrayref. The branch reached for a duplicate key tests SvTYPE (old_value) != SVt_RV &amp;&amp; SvTYPE (SvRV (old_value)) != SVt_PVAV, which evaluates SvRV(old_value) before establishing that old_value is a reference. When the existing value is a plain scalar rather than an array reference, a non-reference scalar is dereferenced as a reference.

A caller decoding untrusted JSON with dupkeys_as_arrayref enabled is crashed, and the incompatible access follows a pointer taken from attacker controlled scalar contents.

CVSS Base Scores

version 3.1