{
  "id": "CVE-2026-9334",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-9334",
  "published_at": "2026-06-03T00:15:16.202Z",
  "title": "Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref is enabled",
  "vendor": "RURBAN",
  "product": "Cpanel::JSON::XS",
  "cvss": {
    "score": 7.3,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Cpanel::JSON::XS versions before 4.41 for Perl allow type confusion via duplicate object keys when dupkeys_as_arrayref is enabled.\n\ndecode_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 \u0026\u0026 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.\n\nA caller decoding untrusted JSON with dupkeys_as_arrayref enabled is crashed, and the incompatible access follows a pointer taken from attacker controlled scalar contents.",
  "cwe": "CWE-843",
  "cpes": [
    "cpe:2.3:a:rurban:cpanel\\:\\:json\\:\\:xs:*:*:*:*:*:perl:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "RURBAN",
        "product": "Cpanel::JSON::XS",
        "ranges": [
          "\u003c 4.41"
        ],
        "fixed_in": [
          "4.41"
        ]
      }
    ],
    "solutions": [
      "Upgrade to Cpanel::JSON::XS 4.41 or later."
    ],
    "upgrade": [
      "Upgrade Cpanel::JSON::XS to 4.41 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/rurban/Cpanel-JSON-XS/commit/11a7c550a0d8fac2f84414f24d5df9b2bfe346e2.patch"
      },
      {
        "kind": "Release notes",
        "url": "https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.41/changes"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
