Skip to content
Heist/ feed
Unrated

Cpanel::JSON::XS versions before 4.80 for Perl allow memory exhaustion by buffering incremental input past max_size in incr_parse

Type: advisorySource: Official CVE List1 source record

Cpanel::JSON::XS versions before 4.80 for Perl allow memory exhaustion by buffering incremental input past max_size in incr_parse. The parser appends each chunk to its buffer. In scalar or list context, it compares max_size with how far it has progressed, not with the buffer length. A chunk that starts with a NUL byte stops the parser before it progresses, and a call in void context skips the check, so the buffer grows without limit. A peer streaming data to an incr_parse consumer can exhaust process memory regardless of max_size.

Announced Group revision 1
Original source ↗

CVE-2026-110678

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

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": "0",
        "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": "Cpanel::JSON::XS::incr_parse"
      }
    ]
  }
]
Related CVEs
CVE-2026-110678

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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