Description
Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded arguments of a tagged value when its THAW method dies in decode_tag.

With allow_tags, a tagged value's class name and argument array are decoded and passed to the class's THAW method. Both are released only after THAW returns, so a THAW that dies leaves the whole decoded argument structure allocated.

Each rejected document leaks data of a size the sender chooses, so a process that catches the error and keeps running exhausts its memory.
Published: 2026-10-19
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via memory exhaustion
Action: Patch Immediately
AI Analysis

Impact

In Cpanel::JSON::XS versions older than 4.80, when the THAW method of a tagged value dies during JSON decoding, the library does not release the decoded argument array. The memory allocated for that array remains allocated, causing a memory leak. Each time a decoder rejects a document with allow_tags enabled, an attacker can choose the size of the leaked data, making it possible to exhaust process memory for no direct code execution or data disclosure.

Affected Systems

The Perl module Cpanel::JSON::XS, versions prior to 4.80, is susceptible to this issue. Systems that embed or invoke this module to decode JSON with allow_tags enabled can be affected.

Risk and Exploitability

The vulnerability can be exploited by sending crafted JSON data to any service that performs decoding with allow_tags. The attacker has no requirement for privileged access; the required condition is simply that the service uses the vulnerable module. The CVSS score of 9.1 indicates a high risk, while EPSS remains below 1%, and it is not listed in KEV. Still, the potential to force a process to consume arbitrary amounts of memory results in a clear denial‑of‑service risk for the affected application.

Generated by OpenCVE AI on October 29, 2026 at 22:17 UTC.

Remediation

Vendor Solution

Upgrade to Cpanel-JSON-XS 4.80 or later.


OpenCVE Recommended Actions

  • Upgrade the Cpanel::JSON::XS Perl module to version 4.80 or later.
  • Temporarily disable the allow_tags option when decoding untrusted JSON or switch to a non‑tagging implementation to prevent THAW execution.
  • Monitor memory usage for abnormal increases during JSON decoding to detect exploitation attempts.

Generated by OpenCVE AI on October 29, 2026 at 22:17 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 ssvc

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


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

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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 leak the decoded arguments of a tagged value when its THAW method dies in decode_tag. With allow_tags, a tagged value's class name and argument array are decoded and passed to the class's THAW method. Both are released only after THAW returns, so a THAW that dies leaves the whole decoded argument structure allocated. Each rejected document leaks data of a size the sender chooses, so a process that catches the error and keeps running exhausts its memory.
Title Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded arguments of a tagged value when its THAW method dies in decode_tag
Weaknesses CWE-401
References

Subscriptions

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

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-29T17:06:21.316Z

Reserved: 2026-10-14T13:26:41.061Z

Link: CVE-2026-110685

cve-icon Vulnrichment

Updated: 2026-10-29T17:02:46.634Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-10-29T17:18:00.723

Link: CVE-2026-110685

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T22:30:13Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime