Description
Cpanel::JSON::XS versions before 4.80 for Perl use freed filter callbacks when a filter removes itself during decoding in decode_hv.

A decode copies the parser's filter_json_object and filter_json_single_key_object callbacks without taking references to them. A filter callback that removes the last single-key filter frees the callback table while the decode in progress still uses it. The next object is dispatched through freed memory and can crash the process.
Published: 2026-10-19
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Process crash leading to denial of service
Action: Patch
AI Analysis

Impact

The vulnerability is a use–after–free in Cpanel::JSON::XS before version 4.80. When a filter callback removes itself during a decode_hv operation, the parser copies its callback table by value. The removal frees the table while a decode is still in progress, and the next object dispatched uses memory that has already been freed, causing a crash. The impact is a process termination that can be leveraged by an attacker to deny service to the affected application.

Affected Systems

Perl applications that load any Cpanel::JSON::XS library older than 4.80 and employ filter callbacks, particularly those that invoke decode_hv. All environments installing the library from CPAN or other package managers that still carry a pre‑4.80 version are potentially vulnerable.

Risk and Exploitability

The exploit condition requires the presence of a filter that removes itself during decoding, which is typically a feature used for input validation or transformation. If an attacker can supply crafted JSON that triggers such a filter, the crash can be forced. The EPSS score is less than 1%, indicating a low probability of exploitation. The CVSS score of 6.5 indicates medium severity. The vulnerability is not listed in the CISA KEV catalog; however, the nature of the flaw is a classic use‑after‑free and the crash outcome suggests a high impact for services that rely on the library. The attack vector from the input is inferred to be remote or local JSON input processed by the vulnerable module.

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

Remediation

Vendor Solution

Upgrade to Cpanel-JSON-XS 4.80 or later.


OpenCVE Recommended Actions

  • Upgrade the Cpanel::JSON::XS library to version 4.80 or later.
  • Verify that the running application is not loading an older pre‑4.80 version of the module, and remove any such copies from the environment.
  • Configure application monitoring to detect process crashes and trigger alerts so that any denial‑of‑service incidents can be quickly identified and mitigated.

Generated by OpenCVE AI on October 29, 2026 at 21:43 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': 'no', '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': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Mon, 19 Oct 2026 21:45: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 freed filter callbacks when a filter removes itself during decoding in decode_hv. A decode copies the parser's filter_json_object and filter_json_single_key_object callbacks without taking references to them. A filter callback that removes the last single-key filter frees the callback table while the decode in progress still uses it. The next object is dispatched through freed memory and can crash the process.
Title Cpanel::JSON::XS versions before 4.80 for Perl use freed filter callbacks when a filter removes itself during decoding in decode_hv
Weaknesses CWE-416
References

Subscriptions

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

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-29T17:11:22.136Z

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

Link: CVE-2026-110686

cve-icon Vulnrichment

Updated: 2026-10-29T17:08:55.849Z

cve-icon NVD

Status : Awaiting Analysis

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

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

Link: CVE-2026-110686

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses