---
title: "CVE-2026-9334"
canonical_url: "https://pkgseek.com/security/CVE-2026-9334"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-9334

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 && 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 dupk…

CVE-2026-9334 严重级别为 HIGH (7.3)，共索引 5 条受影响软件包构建记录，涉及 3 个发行版。

- **级别 / 评分**: HIGH (7.3)
- **受影响构建数**: 5
- **涉及发行版**: 3
- **已标明修复版本发行版**: Alibaba Cloud Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 4 | perl-Cpanel-JSON-XS | 4.40-1.alnx4 | 4.40-3.alnx4 |
| Alibaba Cloud Linux | 4 | perl-Cpanel-JSON-XS-doc | 4.40-1.alnx4 | 4.40-3.alnx4 |
| Debian | trixie | libcpanel-json-xs-perl | 4.39-2~deb13u1 | — |
| Ubuntu | jammy | libcpanel-json-xs-perl | 4.27-1build1 | — |
| Ubuntu | noble | libcpanel-json-xs-perl | 4.37-1build3 | — |
