CVE-2026-24001
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).…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.5
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-400
- CWE-1333
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1499Endpoint Denial of Service
References
7 on the record
- github.com/kpdecker/jsdiff/security/advisories/GHSA-73rr-hh4g-fpgx
x_refsource_CONFIRM
- github.com/kpdecker/jsdiff/issues/653
x_refsource_MISC
- github.com/kpdecker/jsdiff/pull/649
x_refsource_MISC
- github.com/kpdecker/jsdiff/commit/15a1585230748c8ae6f8274c202e0c87309142f5
x_refsource_MISC
- access.redhat.com/security/cve/CVE-2026-24001
vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgi?id=2431930
issue-tracking, x_refsource_REDHAT
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24001.json
x_sadp-csaf-vex
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2021-44228 Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpointsCVSS 10.0 · CISA KEV
- CVE-2020-3569 Cisco IOS XR Software DVMRP Memory Exhaustion VulnerabilityCVSS 8.6 · CISA KEV
- CVE-2020-3566 Cisco IOS XR Software DVMRP Memory Exhaustion VulnerabilityCVSS 8.6 · CISA KEV
- CVE-2026-45498 Microsoft Defender Denial of Service VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-28318 SolarWinds Serv-U Unauthenticated Denial of Service VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2023-44487 HTTP/2 Rapid Reset Attack VulnerabilityCVSS 7.5 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.