CVE-2026-110681: Cpanel::JSON::XS use-after-free in ithread parser objects

CVE-2026-110681 · Severity: info · Published 2026-10-19

Cpanel::JSON::XS is a Perl library for parsing and serializing JSON data. When a parser object is cloned into a new thread, it retains references to scalars (callback data and parse buffers) belonging to the parent thread, which may have been freed. An attacker or buggy code using this library can trigger memory corruption, reference count corruption, or process crashes.

Technologies: Cpanel::JSON::XS. Vendors: CPAN.

Quick answers

Is CVE-2026-110681 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-110681 being exploited in the wild.
How severe is CVE-2026-110681?
Informational severity, published 19 October 2026.
Which products and versions are affected?
Cpanel::JSON::XS before 4.80.
Is there a fix for CVE-2026-110681?
Yes: fixed in Cpanel::JSON::XS 4.80. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-110681 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-110681?
Check whether you run Cpanel::JSON::XS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: Cpanel::JSON::XS 4.80

Technical details

A parser object holds raw scalar pointers to callbacks and incremental parse buffers. During thread cloning, these pointers are copied unchanged into the child interpreter without duplicating the underlying scalars. A parser created before thread spawn and used inside the child thread will call freed callbacks, corrupt Perl reference counts (refcnt), or dereference freed memory, leading to process termination. The vulnerability is in the XS.xs cloning handler, fixed by duplicating the scalar objects during ithread CLONE_PARAMS processing.

Affected products

  • CPAN Cpanel::JSON::XS before 4.80

Timeline

  • 2026-10-19: disclosed
  • 2026-10-14: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.