PatchSiren cyber security CVE debrief
CVE-2026-24001 kpdecker CVE debrief
CVE-2026-24001 is a denial of service vulnerability in jsdiff, a JavaScript text differencing implementation. The vulnerability allows an attacker to cause a DoS attack by parsing a patch with malicious filename headers containing line break characters. This can cause the parsePatch method to enter an infinite loop, consuming memory until the process crashes. The vulnerability affects versions prior to 8.0.3, 5.2.2, 4.0.4, and 3.5.1. A large payload is not needed to trigger the vulnerability, making size limits on user input ineffective. Some applications may be vulnerable even when calling parsePatch on a patch generated by the application itself if the user can control the filename headers.
- Vendor
- kpdecker
- Product
- jsdiff
- CVSS
- LOW 2.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-01-22
- Original CVE updated
- 2026-07-15
- Advisory published
- 2026-01-22
- Advisory updated
- 2026-07-15
Who should care
Developers and administrators using jsdiff in their applications should be aware of this vulnerability and take steps to mitigate it. This includes updating to a patched version of jsdiff and being cautious when parsing user-provided patches. Additionally, users of applications that rely on jsdiff should be aware of the potential for DoS attacks and monitor their applications for suspicious activity.
Technical summary
The vulnerability is caused by the parsePatch method's inability to handle filename headers containing line break characters. This can cause the method to enter an infinite loop, consuming memory until the process crashes. The vulnerability can be exploited by parsing a patch with malicious filename headers. The applyPatch method is also affected if called with a string representation of a patch as an argument. A second and lesser interdependent bug, a ReDOS, also exhibits when those same line break characters are present in a patch's patch header.
Defensive priority
High priority should be given to updating to a patched version of jsdiff. In the meantime, a workaround is to avoid parsing patches that contain the line break characters: , , or .
Recommended defensive actions
- Update to a patched version of jsdiff (8.0.3, 5.2.2, 4.0.4, or 3.5.1)
- Avoid parsing patches that contain line break characters: , , or
- Be cautious when parsing user-provided patches
- Monitor applications for suspicious activity
- Consider implementing additional security measures to prevent DoS attacks
Evidence notes
The CVE record and NVD detail provide information on the vulnerability, including its description, CVSS score, and affected versions. The source item URL provides additional information on the vulnerability, including references to patches and issue tracking.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-24001 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-24001
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-24001 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-24001
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/kpdecker/jsdiff/commit/15a1585230748c8ae6f8274c202e0c87309142f5
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/kpdecker/jsdiff/issues/653
[email protected] - Issue Tracking
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/kpdecker/jsdiff/pull/649
[email protected] - Issue Tracking, Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/kpdecker/jsdiff/security/advisories/GHSA-73rr-hh4g-fpgx
[email protected] - Vendor Advisory
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/security/cve/CVE-2026-24001
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
-
Source reference
Unverified legacy reference
URL: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24001.json
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.