CVE Catalog

CVE-2026-110680

Unknown
Published: Updated: Translated: NVD NIST

Summary

A vulnerability in the Cpanel::JSON::XS Perl library (versions 4.20 to 4.80) causes an out-of-bounds write during canonical encoding of a tied or threads::shared hash when the key count grows between the first and second pass. This can corrupt stack or heap memory and crash the process.

Risk Assessment

Processing untrusted JSON data with an application using the vulnerable version may allow an attacker to trigger a process crash (denial of service) and potentially memory corruption.

Recommendation

Update Cpanel::JSON::XS to version 4.80 or later and avoid canonical encoding of shared or tied hashes with variable key counts in untrusted contexts.

Other vulnerabilities in Cpanel::JSON::XS

See all
Original NVD description (English source)

Cpanel::JSON::XS versions from 4.20 before 4.80 for Perl write out of bounds when a tied or shared hash grows during canonical encoding in encode_hv. With canonical, the keys of a tied or threads::shared hash are counted before a second pass collects them for sorting. The encoder uses a fixed 64-entry stack array or, for larger counts, a heap array sized from the first pass. If the second pass exceeds that capacity, entries are written out of bounds before the counts are compared. This corrupts stack or heap memory and can crash the process.

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