# CVE-2026-110680: 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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-10-19T18:12:01.950Z
- Modified: 2026-10-30T11:17:31.650Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

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.

(As written by CVE List.)

## Affected

- Cpanel-JSON-XS: from 4.20 before 4.80

## References

- <https://github.com/rurban/Cpanel-JSON-XS/commit/44c4591cc62ea7f453a0ed931abf24394e1560a1.patch> (patch)
- <https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.80/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-110680](https://www.cve.org/CVERecord?id=CVE-2026-110680), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-110680](https://nvd.nist.gov/vuln/detail/CVE-2026-110680), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-110680 · Whole record: https://cve.day/CVE-2026-110680.json · Rebuilt by cve.day 2026-11-25T22:59:45.595Z
