← VULNERABILITIES

DHI-cgd2-yj7d-h4uk-ionn

Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded arguments of a tagged value when its THAW method dies…

Unscored
CVSS
—
EPSS
—
Published
2026-11-21
Age
8d old
Modified
2026-11-24
Product
perl-cpanel-json-xs

Description

Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded arguments of a tagged value when its THAW method dies in decode_tag. With allow_tags, a tagged value's class name and argument array are decoded and passed to the class's THAW method. Both are released only after THAW returns, so a THAW that dies leaves the whole decoded argument structure allocated. Each rejected document leaks data of a size the sender chooses, so a process that catches the error and keeps running exhausts its memory.

Sources

  • OSV · first seen 8d ago · CC-BY 4.0

References

JSON