PT-2026-3905

CVE-2026-24001

·

Published

2026-01-14

·

Updated

2026-11-11

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions jsdiff versions prior to 8.0.3 jsdiff versions prior to 5.2.2 jsdiff versions prior to 4.0.4
Description jsdiff is a JavaScript text differencing implementation. When processing a patch file, if the filename headers contain specific line break characters (r, u2028, or u2029), the parsePatch method can enter an infinite loop, leading to excessive memory consumption and a potential denial-of-service (DoS) attack. The applyPatch method is also affected when called with a string representation of a patch, as it utilizes the parsePatch method internally. A ReDOS (Regular Expression Denial of Service) vulnerability also exists when these line break characters are present in the patch header, potentially causing the parsePatch method to take O(n³) time to parse a maliciously crafted header of length n. This issue does not require a large payload to trigger and size limits on user input do not provide protection. Applications that call parsePatch with user-provided patches are susceptible.
Recommendations jsdiff versions prior to 8.0.3: Upgrade to version 8.0.3 or later. jsdiff versions prior to 5.2.2: Upgrade to version 5.2.2 or later. jsdiff versions prior to 4.0.4: Upgrade to version 4.0.4 or later. As a temporary workaround, avoid parsing patches containing the characters r, u2028, or u2029.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-73RR-HH4G-FPGX
CLEANSTART-2026-AU23646
CLEANSTART-2026-ID18571
CLEANSTART-2026-JK65997
CLEANSTART-2026-KN24948
CLEANSTART-2026-RA54974
CLEANSTART-2026-UC01601
CLEANSTART-2026-UW60570
CLEANSTART-2026-WS13832
CLEANSTART-2026-ZJ21676
ECHO-C647-D5FA-C4ED
Found an issue in the description? Have something to add? Feel free to write us 👾