Read the docs

Memory leak in Cpanel::JSON::XS decode_hv on rejected objects

Priority LOW 33CWE-401Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-401.

Summary

Cpanel::JSON::XS versions before 4.80 for Perl leak memory when decode_hv rejects an object for a missing colon after a key or for a duplicate key. A quoted key of 24 or more bytes, or one with a non-ASCII byte or an escape sequence, is decoded into a scalar that is never freed. A process that keeps running after failed decodes retains one key per rejected document, so repeated requests can exhaust process memory. The flaw is classified as CWE-401 (Missing Release of Memory after Effective Lifetime).

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded key of an object rejected for a duplicate key or a missing colon in decode_hv. A quoted key of 24 or more bytes, or one containing a non-ASCII byte or an escape sequence, is decoded into a new scalar. Nothing frees that scalar when the object is rejected for a missing ':' after the key or, from 4.09, for a duplicate key. Duplicate keys are an error unless allow_dupkeys, dupkeys_as_arrayref or relaxed is set. A process that keeps running after a failed decode retains one key per rejected document, with its size chosen by the sender. Repeated requests exhaust process memory.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00486 42nd percentileScored 2026-11-07
Fix Fixed Cpanel-JSON-XS: 4.80

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Cpanel-JSON-XSbefore 4.804.80Patch availableCNA
  • Cpanel-JSON-XS Vendor— Affected before 4.80 Fixed in 4.80 Patch available CNA

Remediation

Upgrade Cpanel-JSON-XS to version 4.80 or later. Red Hat lists one product as not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA Cpanel-JSON-XS Fixed in 4.80

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-20 Threatist record created from CVE-2026-110672
  2. 2026-10-20 Alias added: GHSA-cg4x-76pf-wq6q
  3. 2026-10-20 Affected versions changed · Red Hat
  4. 2026-10-20 CVSS score added · Red Hat
  5. 2026-10-29 CVSS score added · CISA ADP
  6. 2026-10-29 CISA SSVC decision points changed

References

Sources