Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-110674

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-110674

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/rurban/Cpanel-JSON-XS",
    "modules": [
      "Cpanel::JSON::XS"
    ],
    "versions": [
      {
        "status": "affected",
        "version": "4.33",
        "lessThan": "4.80",
        "versionType": "custom"
      }
    ],
    "packageURL": "pkg:cpan/Cpanel-JSON-XS",
    "packageName": "Cpanel-JSON-XS",
    "programFiles": [
      "XS.xs"
    ],
    "collectionURL": "https://cpan.org/modules",
    "defaultStatus": "unaffected",
    "programRoutines": [
      {
        "name": "decode_hv"
      }
    ]
  }
]
Related CVEs
CVE-2026-110674

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#39683 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement