Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-24001: jsdiff is a JavaScript text differencing implementation

44
This month
HIGH 7.5REMOTEUPGRADE

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.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.6% (top 51%)
CISA exploited listNo
WeaknessCWE-400, CWE-1333
Published2026-01-22
Last modified2026-07-15
Publisher (CNA): GitHub, Inc. · Vendor: kpdecker

Share: LinkedIn · X · Reddit

Last updated 2026-07-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

kpdecker jsdiff UPGRADE
Affected: < 3.5.1 · >= 4.0.0 and < 4.0.4 · >= 5.0.0 and < 5.2.2 · >= 6.0.0 and < 8.0.3
Fixed in: 3.5.1, 4.0.4, 5.2.2, 8.0.3
Safe to downgrade to: a release before 4.0.0
1. Check installed version
npm ls jsdiff
2. UPGRADE to 3.5.1
npm install jsdiff@">=3.5.1"
3. If no update is available yet, DOWNGRADE to a release before 4.0.0
npm view jsdiff versions npm install jsdiff@"<4.0.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.