CVEBrief

Home / kpdecker / jsdiff / CVE-2026-24001

CVE-2026-24001: is it exploited, and which versions of kpdecker jsdiff are affected and fixed?

CVE-2026-24001 is a denial of service (uncontrolled resource consumption) vulnerability in kpdecker jsdiff. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: diff from 6.0.0 before 8.0.3, diff from 5.0.0 before 5.2.2, diff from 4.0.0 before 4.0.4 and 1 more (GitHub advisory GHSA-73rr-hh4g-fpgx). Fixed in 8.0.3, 5.2.2, 4.0.4 and 3.5.1 (GitHub advisory GHSA-73rr-hh4g-fpgx). Severity: Low (2.7, CVSS 4.0, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:14 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:39 UTC
Affected
diff from 6.0.0 before 8.0.3, diff from 5.0.0 before 5.2.2, diff from 4.0.0 before 4.0.4 and 1 more
GitHub advisory GHSA-73rr-hh4g-fpgx
Fixed in
8.0.3, 5.2.2, 4.0.4 and 3.5.1
GitHub advisory GHSA-73rr-hh4g-fpgx
Severity
Low 2.7
CVSS 4.0 from GitHub_M
Exploit odds (EPSS)
0.62% in 30 days
higher than 51% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-24001?

jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch

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 attack if they call `parsePatch` with a user-provided patch as input. A large payload is not needed to trigger the vulnerability, so size limits on user input do not provide any protection. Furthermore, some applications may be vulnerable even when calling `parsePatch` on a patch generated by the application itself if the user is nonetheless able to control the filename headers (e.g. by directly providing the filenames of the files to be diffed). The `applyPatch` method is similarly affected if (and only if) called with a string representation of a patch as an argument, since under the hood it parses that string using `parsePatch`. Other methods of the library are unaffected. Finally, a second and lesser interdependent bug - a ReDOS - also exhibits when those same line break characters are present in a patch's *patch* header (also known as its "leading garbage"). A maliciously-crafted patch header of length *n* can take `parsePatch` O(*n*³) time to parse. Versions 8.0.3, 5.2.2, 4.0.4, and 3.5.1 contain a fix. As a workaround, do not attempt to parse patches that contain any of these characters: `\r`, `\u2028`, or `\u2029`.

From the CVE record by GitHub_M, last updated July 15, 2026, 01:17 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
kpdeckerjsdiff>= 6.0.0, < 8.0.3
>= 5.0.0, < 5.2.2
>= 4.0.0, < 4.0.4
< 3.5.1

As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
npmdiff>= 6.0.0, < 8.0.38.0.3GHSA-73rr-hh4g-fpgx
npmdiff>= 5.0.0, < 5.2.25.2.2GHSA-73rr-hh4g-fpgx
npmdiff>= 4.0.0, < 4.0.44.0.4GHSA-73rr-hh4g-fpgx
npmdiff< 3.5.13.5.1GHSA-73rr-hh4g-fpgx

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 30, 2026. Summary: jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
kpdeckerjsdiffbefore 3.5.1application
kpdeckerjsdifffrom 4.0.0 before 4.0.4application
kpdeckerjsdifffrom 5.0.0 before 5.2.2application
kpdeckerjsdifffrom 6.0.0 before 8.0.3application

NVD analysis (status Modified), last modified July 15, 2026, 02:18 UTC.

How severe is CVE-2026-24001?

ScoreVersionVectorSource
Low 2.7CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UGitHub_M
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat-SADP
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-24001 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, January 22, 2026)
EPSS
0.62% probability of exploitation activity in the next 30 days, percentile 51.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 19, 2026
Published
January 22, 2026, 02:23 UTC
CVE record updated
July 15, 2026, 01:17 UTC by GitHub_M
NVD
Modified, last modified July 15, 2026, 02:18 UTC
Last checked
CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

Questions about CVE-2026-24001

Is CVE-2026-24001 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.62% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of kpdecker jsdiff are affected by CVE-2026-24001?

diff from 6.0.0 before 8.0.3, diff from 5.0.0 before 5.2.2, diff from 4.0.0 before 4.0.4 and diff before 3.5.1, per the GitHub advisory GHSA-73rr-hh4g-fpgx. The tables above give every range the sources list.

Which version fixes CVE-2026-24001?

8.0.3, 5.2.2, 4.0.4 and 3.5.1, per the GitHub advisory GHSA-73rr-hh4g-fpgx. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-24001?

Low (2.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2026-24001?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.