Memory leak in Cpanel::JSON::XS decode_hv on rejected objects
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Cpanel-JSON-XS | before 4.80 | 4.80 | Patch available | CNA |
- 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
Timeline
- 2026-10-20 Threatist record created from CVE-2026-110672
- 2026-10-20 Alias added: GHSA-cg4x-76pf-wq6q
- 2026-10-20 Affected versions changed · Red Hat
- 2026-10-20 CVSS score added · Red Hat
- 2026-10-29 CVSS score added · CISA ADP
- 2026-10-29 CISA SSVC decision points changed
References
Sources
- CVE-2026-110672 · CVE Program
- CVE-2026-110672 · NVD
- FIRST EPSS
- GHSA-cg4x-76pf-wq6q · GitHub Advisory Database · CC BY 4.0
- CVE-2026-110672 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences