Skip to content
Heist/ feed
Unrated

Cpanel::JSON::XS versions from 4.20 before 4.80 for Perl write out of bounds when a tied or shared hash grows during canonical encoding in encode_hv

Type: advisorySource: Official CVE List1 source record

Cpanel::JSON::XS versions from 4.20 before 4.80 for Perl write out of bounds when a tied or shared hash grows during canonical encoding in encode_hv. With canonical, the keys of a tied or threads::shared hash are counted before a second pass collects them for sorting. The encoder uses a fixed 64-entry stack array or, for larger counts, a heap array sized from the first pass. If the second pass exceeds that capacity, entries are written out of bounds before the counts are compared. This corrupts stack or heap memory and can crash the process.

Announced Group revision 1
Original source ↗

CVE-2026-110680

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

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.20",
        "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": "encode_hv"
      }
    ]
  }
]
Related CVEs
CVE-2026-110680

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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