PT-2026-53732 · Cpan · Javascript::Minifier::Xs
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
JavaScript::Minifier::XS versions prior to 0.16
Description
A NULL pointer dereference occurs when the first meaningful token of the input is a slash. The issue resides in the
JsTokenizeString() function within the XS.xs file, where the regexp versus division disambiguator fails to find a valid preceding token when a slash starts the input (or follows only whitespace and comments). This causes the process to read through a NULL contents pointer, leading to a crash. This can be triggered via the minify() API, allowing a remote attacker to cause a denial of service by sending a request containing a single slash byte to a service that minifies untrusted JavaScript.Recommendations
Update to version 0.16 or later.
Exploit
Fix
DoS
NULL Pointer Dereference
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Javascript::Minifier::Xs