Bug 2555758 (CVE-2026-110680) - CVE-2026-110680 perl-Cpanel-JSON-XS: Out-of-bounds write during canonical encoding
Summary: CVE-2026-110680 perl-Cpanel-JSON-XS: Out-of-bounds write during canonical enc...
Keywords:
Status: NEW
Alias: CVE-2026-110680
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2556469 2556470
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-19 18:34 UTC by OSIDB Bzimport
Modified: 2026-10-20 20:49 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-19 18:34:40 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.