Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Guiyi-He

#40561of 60,972
7.5Total CVSS
Vulnerabilities · 1
PT-2026-3905
2026-01-14
7.5
CVE-2026-24001
Jsdiff
Jsdiff
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.