CVE-2026-110680

Public on 2026-10-19
Modified on 2026-10-21
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.
Severity
Medium severity
Medium
See what this means
CVSS v3 Base Score
6.1
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core perl Not Affected
Amazon Linux 2023 perl Not Affected
Amazon Linux 2027 Preview perl Not Affected
Amazon Linux 2023 perl-Cpanel-JSON-XS Pending Fix
Amazon Linux 2027 Preview perl-Cpanel-JSON-XS Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 6.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H