CVE-2026-110686: Cpanel::JSON::XS versions before 4.80 for Perl use freed filter callbacks when a filter removes itself during decoding in decode_hv

Published Oct 19, 2026
·
Updated

Cpanel::JSON::XS versions before 4.80 for Perl use freed filter callbacks when a filter removes itself during decoding in decodehv.

A decode copies the parser's filterjsonobject and filterjsonsinglekeyobject callbacks without taking references to them. A filter callback that removes the last single-key filter frees the callback table while the decode in progress still uses it. The next object is dispatched through freed memory and can crash the process.

Affected Software

1 affected component
cpan/Cpanel::JSON::XS<4.80

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Cpanel-JSON-XS to a version that resolves this vulnerability.

    Fixed in 4.80

Event History

Oct 19, 2026
CVE Published
via MITRE·06:12 PM
Data Sourced
via MITRE·06:12 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·07:17 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are affected?

Perl applications using Cpanel::JSON::XS versions earlier than 4.80 are affected when they use decode-time object filters in the vulnerable callback-removal scenario. The issue is in decode_hv.

2

What conditions are required to trigger the crash?

A filter callback must remove itself while decoding, specifically removing the last single-key filter so that the callback table is freed. Decoding a subsequent object then dispatches through freed memory and can crash the process.

3

What can be done before upgrading?

Avoid filter callbacks that remove the last single-key filter during an active decode. Review decoding code for self-removing object or single-key filter callbacks and prevent that mutation until decoding has completed.

4

How can I determine whether an application is exposed?

Check whether the application uses a Cpanel::JSON::XS release before 4.80 and whether its decoding path registers filters that can remove themselves. The vulnerable path requires a later object to be processed after the final single-key filter has been removed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203