CVE-2026-110672: Cpanel::JSON::XS memory leak in decode_hv with rejected keys

CVE-2026-110672 · Severity: info · Published 2026-10-19

Cpanel::JSON::XS is a JSON parser for Perl that converts JSON text into Perl data structures. A memory leak occurs when the parser rejects JSON objects due to duplicate keys or missing colons, causing the decoded key to remain in memory. An attacker sending repeated malformed JSON to a long-running process can exhaust available memory and cause the application to crash or become unresponsive.

Technologies: cPanel JSON::XS. Vendors: cPanel.

Quick answers

Is CVE-2026-110672 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-110672 being exploited in the wild.
How severe is CVE-2026-110672?
Informational severity, published 19 October 2026.
Which products and versions are affected?
cPanel JSON::XS before 4.80.
Is there a fix for CVE-2026-110672?
Yes: fixed in Cpanel::JSON::XS 4.80. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-110672 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-110672?
Check whether you run cPanel JSON::XS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: Cpanel::JSON::XS 4.80

Technical details

The vulnerability exists in the decode_hv function where decoded object keys (24+ bytes, containing non-ASCII characters, or escape sequences) are allocated as scalars but not freed when the object is rejected for a missing colon after the key or for duplicate keys (when allow_dupkeys, dupkeys_as_arrayref, or relaxed modes are disabled). An attacker with network access can send crafted JSON payloads to exhaust process memory through repeated rejections. The fix adds proper reference counting cleanup (SvREFCNT_dec) in error paths.

Affected products

  • Cpanel JSON::XS before 4.80

Timeline

  • 2026-10-19: disclosed
  • 2026-10-14: patched: Fix committed as CVE-2026-110672

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.