PT-2026-45892 · Cpan · Cpanel::Json::Xs

Paul Johnson

·

Published

2026-06-03

·

Updated

2026-06-05

·

CVE-2026-9516

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Cpanel::JSON::XS versions prior to 4.41
Description An issue exists where providing input prefixed with a UTF-8 Byte Order Mark (BOM) can lead to a denial of service. When the decode json() function processes a 3-byte UTF-8 BOM, it advances the input scalar's string pointer using SvPV set(). If the decoding process is aborted via a Perl exception—such as when a filter json object callback throws an error—the pointer is not restored. This leaves the scalar with a shortened length and a string pointer offset into its own buffer. Consequently, when the scalar is freed, the allocator receives an invalid pointer, causing the interpreter to abort and crash the caller.
Recommendations Update to version 4.41 or later.

Fix

DoS

Improper Handling of Exceptional Conditions

Weakness Enumeration

Related Identifiers

CVE-2026-9516
OPENSUSE-SU-2026:10950-1

Affected Products

Cpanel::Json::Xs