CVE-2026-110680: CWE-787 Out-of-bounds Write
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-110680 affects Cpanel::JSON::XS versions >=4.20 and <4.80. The vulnerability arises in the encode_hv function when encoding tied or threads::shared hashes with the canonical option enabled. The encoder first counts keys using a fixed-size stack array or a heap array sized from the first pass. If the hash grows during the second pass, the encoder writes beyond the allocated array bounds, corrupting stack or heap memory and causing process crashes.
Potential Impact
The out-of-bounds write can corrupt memory, leading to process crashes. There is no information about exploitation in the wild or further impact such as code execution.
Mitigation Recommendations
No patch or official fix information is provided. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using the canonical encoding option with tied or shared hashes in affected versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-10-14T13:25:23.957Z
- State
- PUBLISHED
Threat ID: 6ad662bc2cdf04f65680340f
Added to database: 10/19/2026, 18:34:36 UTC
Last enriched: 10/19/2026, 18:48:47 UTC
Last updated: 10/19/2026, 22:27:06 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.