← VULNERABILITIES

DHI-ypnb-tgjf-ezpq-c3dl

Cpanel::JSON::XS versions from 4.51 before 4.80 for Perl allow quadratic CPU use by revalidating the remaining buffer…

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

Description

Cpanel::JSON::XS versions from 4.51 before 4.80 for Perl allow quadratic CPU use by revalidating the remaining buffer per value in incr_parse. At the first non-ASCII byte in a string, the decoder validates UTF-8 from there to the end of its input. incr_parse decodes each buffered value with a fresh decoder, so every value revalidates the rest of the buffer, and doubling the input quadruples the work. A peer that sends about a megabyte of ordinary non-ASCII JSON in one read ties up the process for seconds of CPU time.

Sources

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

References

JSON