CVSS 4.0
2.7 lowCVSS: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:ULow (2.7) in kpdecker jsdiff. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in diff 3.5.1, 4.0.4, 5.2.2.
CVSS: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:UCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hdiff (npm): fixed in 8.0.3, 5.2.2, 4.0.4, 3.5.1Explain CVE-2026-24001 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-24001?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-24001?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-24001 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| kpdecker:jsdiff | before 3.5.1 |
| kpdecker:jsdiff | from 4.0.0 before 4.0.4 |
| kpdecker:jsdiff | from 5.0.0 before 5.2.2 |
| kpdecker:jsdiff | from 6.0.0 before 8.0.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-73rr-hh4g-fpgx | npm | diff | >=6.0.0 <8.0.3 | 8.0.3 |
| GHSA-73rr-hh4g-fpgx | npm | diff | >=5.0.0 <5.2.2 | 5.2.2 |
| GHSA-73rr-hh4g-fpgx | npm | diff | >=4.0.0 <4.0.4 | 4.0.4 |
| GHSA-73rr-hh4g-fpgx | npm | diff | <3.5.1 | 3.5.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | node-diff | no fix listed | DEBIAN-CVE-2026-24001 |
| Debian | 14 | node-diff | 5.2.2~dfsg+~5.2.3-1 | DEBIAN-CVE-2026-24001 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | node-diff | no fix listed | UBUNTU-CVE-2026-24001 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
Applications using the parsePatch and the applyPatch methods to process patches provided by user input are vulnerable to this issue. Specifically, specially crafted patch input with line break characters such as \r, \u2028, or \u2029 can cause an infinite loop, excessive resource consumption and application crashes. This issue can occur even with small payloads or when users control filename headers, allowing a remote attacker to cause a denial of service. Due to this reason, this vulnerability has been rated with an important severity.
To mitigate this flaw, applications parsing user-supplied patch data should implement input validation to detect and reject input containing line break characters, such as \r, \u2028, or \u2029 before passing the input to the parsePatch and the applyPatch methods, preventing the library from entering an infinite loop and consuming excessive memory.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6 | nodejs-diff | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-24001.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.