CVE Catalog

CVE-2026-110672

Unknown
Published: Updated: Translated: NVD NIST

Summary

In the Cpanel::JSON::XS Perl library (versions before 4.80), the decoded key of an object rejected for a duplicate key or a missing colon leaks in decode_hv. A quoted key of 24 or more bytes, or one containing a non-ASCII byte or an escape sequence, is not freed when the object is rejected.

Risk Assessment

A process that keeps running after a failed decode retains one key per rejected document, which under repeated requests can exhaust memory and cause denial of service.

Recommendation

Update Cpanel::JSON::XS to version 4.80 or later and avoid repeatedly decoding untrusted documents in a long-running process.

Other vulnerabilities in Cpanel::JSON::XS

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS