CPANSA-Cpanel-JSON-XS-2026-110681: Cpanel-JSON-XS vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-10-19T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-10-19T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 8.1 Severity High
Original language Language en
Also referred to

Vulnerability Description

Cpanel::JSON::XS versions before 4.80 for Perl use the parent interpreter's scalars from a parser object cloned into a new ithread.

A parser object holds its callbacks and its incremental parse buffer as raw scalar pointers. When a thread is created, these are copied into the new interpreter unchanged, so the child's parser uses, and later frees, scalars that belong to the parent and may already have been freed there.

A parser created before a thread starts and used inside it can call freed callbacks, corrupt reference counts and crash the process.

Vulnerabilities

CVE-2026-110681

Vulnerability Description

Cpanel::JSON::XS versions before 4.80 for Perl use the parent interpreter's scalars from a parser object cloned into a new ithread.

A parser object holds its callbacks and its incremental parse buffer as raw scalar pointers. When a thread is created, these are copied into the new interpreter unchanged, so the child's parser uses, and later frees, scalars that belong to the parent and may already have been freed there.

A parser created before a thread starts and used inside it can call freed callbacks, corrupt reference counts and crash the process.

Weakness CWE-416 : Use After Free

Product status

Known affected
Product Score
Cpanel-JSON-XS less than 4.80
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H 8.1 High
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Mon Oct 19 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/