Description
Cpanel::JSON::XS versions from 4.51 before 4.80 for Perl allow quadratic CPU use by revalidating the remaining buffer per value in incr_parse.

At the first non-ASCII byte in a string, the decoder validates UTF-8 from there to the end of its input. incr_parse decodes each buffered value with a fresh decoder, so every value revalidates the rest of the buffer, and doubling the input quadruples the work.

A peer that sends about a megabyte of ordinary non-ASCII JSON in one read ties up the process for seconds of CPU time.
Published: 2026-10-19
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

Cpanel-JSON-XS, a Perl module used by many web applications, contains a flaw that causes quadratic CPU usage when parsing JSON streams with incr_parse; when a non-ASCII byte is encountered, the decoder rebuilds UTF‑8 validation for every subsequent value, so the processing cost grows with the square of the input size, leading to high CPU consumption when fed large payloads.

Affected Systems

The vulnerability appears in Cpanel-JSON-XS versions 4.51 through 4.79 inclusive; any environment that incorporates these releases and parses JSON via incr_parse is affected, and the fix is to upgrade to 4.80 or higher.

Risk and Exploitability

The flaw represents uncontrolled resource consumption (CWE‑407) and can be abused remotely by sending malicious non‑ASCII JSON streams, with a CVSS score of 7.5 and an EPSS score of less than 1%; the vulnerability is not listed in the CISA KEV catalog, and the high CPU cost could disrupt service on affected hosts. The likely attack vector is any client that can submit a large JSON payload to an application using the vulnerable module, which is a typical remote web scenario. Monitoring and placing limits on input size and CPU usage are advisable until the patch is applied.

Generated by OpenCVE AI on October 29, 2026 at 21:42 UTC.

Remediation

Vendor Solution

Upgrade to Cpanel-JSON-XS 4.80 or later.


OpenCVE Recommended Actions

  • Upgrade Cpanel-JSON-XS to version 4.80 or later.
  • Limit the size and complexity of JSON payloads processed by the application, rejecting or truncating data that exceeds a safe threshold.
  • Configure process or container resource limits to cap CPU usage per request, ensuring that even if the module exhausts resources, the overall service remains available.

Generated by OpenCVE AI on October 29, 2026 at 21:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 19 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Rurban
Rurban cpanel::json::xs
Vendors & Products Rurban
Rurban cpanel::json::xs

Mon, 19 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Description Cpanel::JSON::XS versions from 4.51 before 4.80 for Perl allow quadratic CPU use by revalidating the remaining buffer per value in incr_parse. At the first non-ASCII byte in a string, the decoder validates UTF-8 from there to the end of its input. incr_parse decodes each buffered value with a fresh decoder, so every value revalidates the rest of the buffer, and doubling the input quadruples the work. A peer that sends about a megabyte of ordinary non-ASCII JSON in one read ties up the process for seconds of CPU time.
Title Cpanel::JSON::XS versions from 4.51 before 4.80 for Perl allow quadratic CPU use by revalidating the remaining buffer per value in incr_parse
Weaknesses CWE-407
References

Subscriptions

Rurban Cpanel::json::xs
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-29T17:18:17.844Z

Reserved: 2026-10-14T13:27:36.845Z

Link: CVE-2026-110688

cve-icon Vulnrichment

Updated: 2026-10-29T17:17:48.243Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-19T19:17:22.420

Modified: 2026-10-29T18:17:22.727

Link: CVE-2026-110688

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T21:45:15Z

Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity