{"id":"CVE-2026-110680","title":"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","summary":"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.\n\nWith canonical, the keys of a tied or threads::shared hash are counted before a second…","severity":"none","cwe":["CWE-787"],"product":"Cpanel-JSON-XS","affected":["Cpanel-JSON-XS >= 4.20 < 4.80"],"published":"2026-10-19","updated":"2026-10-19","sourceUpdated":"2026-10-19T18:12:01.950Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-110680","references":[{"url":"https://github.com/rurban/Cpanel-JSON-XS/commit/44c4591cc62ea7f453a0ed931abf24394e1560a1.patch"},{"url":"https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.80/changes"}],"tags":["cve.org"],"ingestedAt":"2026-10-19T18:35:50.143Z","slug":"CVE-2026-110680","body":"## Overview\n\nCpanel::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.\n\nWith 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.\n\nThis corrupts stack or heap memory and can crash the process.\n\n## Affected\n\n- `Cpanel-JSON-XS >= 4.20 < 4.80`\n\n## Remediation\n\nUpgrade to Cpanel-JSON-XS 4.80 or later.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}