CVE-2026-24001: jsdiff is a JavaScript text differencing implementation
CVE-2026-24001 is a high-severity flaw (CVSS 7.5) affecting jsdiff. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
jsdiff is a JavaScript text differencing implementation. Prior to versions 8.0.3, 5.2.2, 4.0.4, and 3.5.1, attempting to parse a patch whose filename headers contain the line break characters `\r`, `\u2028`, or `\u2029` can cause the `parsePatch` method to enter an infinite loop. It then consumes memory without limit until the process crashes due to running out of memory. Applications are therefore likely to be vulnerable to a denial-of-service a
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-07-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-24001?
jsdiff: upgrade to 3.5.1, 4.0.4, 5.2.2, 8.0.3. Exact commands for each OS are on this page.
Is CVE-2026-24001 being exploited?
CVE-2026-24001 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-24001 affect?
CVE-2026-24001 affects jsdiff. Severity is high (CVSS 7.5). jsdiff is a JavaScript text differencing implementation. Prior to versions 8.0.3, 5.2.2, 4.0.4, and 3.5.1, attempting to parse a patch whose filename headers contain the line break characters `\r`, `\u2028`, or `\u2029` can cause the `parse
How urgent is CVE-2026-24001?
Priority 44/100. High severity; Remotely exploitable, no login, no user action