← VULNERABILITIES

DHI-rfdg-bg72-a27d-wmem

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

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 use freed filter callbacks when a filter removes itself during decoding in decode_hv. A decode copies the parser's filter_json_object and filter_json_single_key_object 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.

Sources

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

References

JSON