一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年10月20日

CVE-2026-110681 – Cpanel::JSON::XS versions before 4.80 for Perl use the parent interpreter’s scalars from a

未分类
📑 文章目录

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.