Description
Cpanel::JSON::XS versions before 4.80 for Perl use the parent interpreter's scalars from a parser object cloned into a new ithread.

A parser object holds its callbacks and its incremental parse buffer as raw scalar pointers. When a thread is created, these are copied into the new interpreter unchanged, so the child's parser uses, and later frees, scalars that belong to the parent and may already have been freed there.

A parser created before a thread starts and used inside it can call freed callbacks, corrupt reference counts and crash the process.
Published: 2026-10-19
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via use‑after‑free
Action: Immediate Patch
AI Analysis

Impact

Cpanel::JSON::XS versions prior to 4.80 contain a use‑after‑free flaw that allows parser objects cloned into a new ithread to reference scalars allocated by the parent interpreter. If a parser created before a thread starts is later used inside that thread, it can invoke callbacks that have already been freed, corrupting reference counts and crashing the process. This leads to a denial‑of‑service condition for any application using the affected library.

Affected Systems

Vulnerable products are the Cpanel::JSON::XS Perl bindings for JSON processing. All releases before version 4.80 are affected. The issue arises when the library is used in multi‑threaded Perl scripts or web applications that spawn ithreads, as the parser object is cloned into the new interpreter without adjusting scalar pointers.

Risk and Exploitability

The CVSS score for this vulnerability is 8.1, indicating a high severity. The EPSS score is reported as < 1%, showing a low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. The exploit requires control over the parser creation and subsequent use within a cloned thread, implying a local or application‑level attack vector rather than remote network exploitation. Because no publicly documented exploit exists, the risk of accidental exploitation is limited to scenarios where an attacker can inject malicious JSON data into a multi‑threaded Perl environment that uses the vulnerable library.

Generated by OpenCVE AI on October 30, 2026 at 12:30 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.
  • If upgrading is not possible, ensure that any JSON parser is created only after a thread has been started to avoid cloning the object into the new interpreter.
  • Where relevant, isolate JSON handling to a forked process or restrict untrusted JSON input to a sandboxed environment.

Generated by OpenCVE AI on October 30, 2026 at 12:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 30 Oct 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


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 before 4.80 for Perl use the parent interpreter's scalars from a parser object cloned into a new ithread. A parser object holds its callbacks and its incremental parse buffer as raw scalar pointers. When a thread is created, these are copied into the new interpreter unchanged, so the child's parser uses, and later frees, scalars that belong to the parent and may already have been freed there. A parser created before a thread starts and used inside it can call freed callbacks, corrupt reference counts and crash the process.
Title Cpanel::JSON::XS versions before 4.80 for Perl use the parent interpreter's scalars from a parser object cloned into a new ithread
Weaknesses CWE-416
References

Subscriptions

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

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-30T11:04:48.764Z

Reserved: 2026-10-14T13:25:47.112Z

Link: CVE-2026-110681

cve-icon Vulnrichment

Updated: 2026-10-30T11:04:30.497Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-10-30T11:17:31.840

Link: CVE-2026-110681

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T12:45:12Z

Weaknesses