Skip to content
Heist/ feed
Unrated

Cpanel::JSON::XS versions from 4.28 before 4.80 for Perl leak the array collecting duplicate key values under dupkeys_as_arrayref in decode_hv

Type: advisorySource: Official CVE List1 source record

Cpanel::JSON::XS versions from 4.28 before 4.80 for Perl leak the array collecting duplicate key values under dupkeys_as_arrayref in decode_hv. With dupkeys_as_arrayref, the values of a duplicate object key are collected into a new array. An extra reference is never released, so the array and every value in it outlive the decoded structure. The array also leaks when decoding fails after a duplicate key. Repeatedly decoding untrusted JSON with a duplicate key holding a large value exhausts process memory.

Announced Group revision 1
Original source ↗

CVE-2026-110677

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-110677

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.28",
        "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-110677

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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