{"id":"EUVD-2026-2424","enisaUuid":"a68beebb-d595-3aae-a227-5a080e50f7b1","description":"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\u0027s *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`.","datePublished":"Jan 22, 2026, 2:23:44 AM","dateUpdated":"Jul 15, 2026, 1:17:39 AM","baseScore":2.7,"baseScoreVersion":"4.0","baseScoreVector":"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:U","references":"https://github.com/kpdecker/jsdiff/security/advisories/GHSA-73rr-hh4g-fpgx\nhttps://github.com/kpdecker/jsdiff/issues/653\nhttps://github.com/kpdecker/jsdiff/pull/649\nhttps://github.com/kpdecker/jsdiff/commit/15a1585230748c8ae6f8274c202e0c87309142f5\n","aliases":"CVE-2026-24001\nGHSA-73rr-hh4g-fpgx\n","assigner":"GitHub_M","epss":0.62,"enisaIdProduct":[{"id":"44affb61-0a4a-369d-afa0-ea0f54811234","product":{"name":"jsdiff","vendor":{"name":"kpdecker"}},"product_version":"6.0.0, \u003c 8.0.3"},{"id":"5f03ff66-8dfe-364d-b22a-0e0675336a59","product":{"name":"jsdiff","vendor":{"name":"kpdecker"}},"product_version":"4.0.0, \u003c 4.0.4"},{"id":"8ab676c7-9192-3aef-b56a-ec50a092b3de","product":{"name":"jsdiff","vendor":{"name":"kpdecker"}},"product_version":"\u003c 3.5.1"},{"id":"da38665e-2aba-3cc1-ad9e-361b045711a4","product":{"name":"jsdiff","vendor":{"name":"kpdecker"}},"product_version":"5.0.0, \u003c 5.2.2"}],"enisaIdVendor":[{"id":"5015c325-454b-3c0a-98ae-5848b8890bcf","vendor":{"name":"kpdecker"}}],"enisaIdVulnerability":[{"id":"389fde25-9ad7-3e56-ae76-4d34619ddd1a","vulnerability":{"id":"CVE-2026-24001","description":"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\u0027s *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`.","datePublished":"Jan 22, 2026, 2:23:44 AM","dateUpdated":"Jul 15, 2026, 1:17:39 AM","status":"PUBLISHED","baseScore":2.7,"baseScoreVersion":"4.0","baseScoreVector":"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:U","references":"https://github.com/kpdecker/jsdiff/security/advisories/GHSA-73rr-hh4g-fpgx\nhttps://github.com/kpdecker/jsdiff/issues/653\nhttps://github.com/kpdecker/jsdiff/pull/649\nhttps://github.com/kpdecker/jsdiff/commit/15a1585230748c8ae6f8274c202e0c87309142f5\n","enisa_id":"EUVD-2026-2424\n","assigner":"GitHub_M","epss":0.62,"dataProcessed":"Nov 14, 2026, 7:19:23 AM","vulnerabilityProduct":[{"id":"467907be-3e66-33e7-bea9-d3d468690b00","product":{"name":"jsdiff","vendor":{"name":"kpdecker"}},"product_version":"4.0.0, \u003c 4.0.4"},{"id":"81b701df-16c6-3bf9-a391-632a0a03f656","product":{"name":"jsdiff","vendor":{"name":"kpdecker"}},"product_version":"5.0.0, \u003c 5.2.2"},{"id":"abd68ad6-bda2-3635-b61a-e17b8d7ac751","product":{"name":"jsdiff","vendor":{"name":"kpdecker"}},"product_version":"\u003c 3.5.1"},{"id":"aea65e40-f205-3f1e-a55d-e9cf94e081c2","product":{"name":"jsdiff","vendor":{"name":"kpdecker"}},"product_version":"6.0.0, \u003c 8.0.3"}],"vulnerabilityVendor":[{"id":"1ea1e976-f19b-3cfd-8a69-c660642deb77","vendor":{"name":"kpdecker"}}]}},{"id":"65e9232b-b25e-3299-954d-5ddaede497f4","vulnerability":{"id":"GHSA-73rr-hh4g-fpgx","description":"jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch","datePublished":"Jan 14, 2026, 9:34:12 PM","dateUpdated":"Jan 30, 2026, 5:13:35 PM","baseScore":0.0,"references":"https://github.com/kpdecker/jsdiff/security/advisories/GHSA-73rr-hh4g-fpgx\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-24001\nhttps://github.com/kpdecker/jsdiff/issues/653\nhttps://github.com/kpdecker/jsdiff/pull/649\nhttps://github.com/kpdecker/jsdiff/commit/15a1585230748c8ae6f8274c202e0c87309142f5\nhttps://github.com/kpdecker/jsdiff\n","enisa_id":"EUVD-2026-2424\n","aliases":"GHSA-73rr-hh4g-fpgx\nCVE-2026-24001\n","epss":0.0,"dataProcessed":"Nov 9, 2026, 3:45:06 PM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"e86f96c7-6790-37cf-92d4-33c5a4abb68a","advisory":{"id":"WID-SEC-W-2026-0526","description":"IBM App Connect Enterprise: Mehrere Schwachstellen","summary":"Ein Angreifer kann mehrere Schwachstellen in IBM App Connect Enterprise ausnutzen, um Daten zu manipulieren, und um einen Denial of Service Angriff durchzuführen.","datePublished":"Feb 25, 2026, 11:00:00 PM","dateUpdated":"May 7, 2026, 10:00:00 PM","baseScore":0.0,"references":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0526.json\nhttps://wid.cert-bund.de/portal/wid/securityadvisory?name\u003dWID-SEC-2026-0526\n","aliases":"CVE-2025-61140\nCVE-2026-24001\nCVE-2026-25128\nCVE-2026-25547\n","source":{"id":8,"name":"csaf_certbund"},"advisoryProduct":[{"id":"260dcf09-9655-3a44-b4e8-5cee1ca8d9d4","product":{"name":"13.0.6.2","vendor":{"name":"IBM"}}},{"id":"43a202a3-2b07-31cc-9f85-bf56f4583c5d","product":{"name":"Certified Container Operator 13.0.0","vendor":{"name":"IBM"}}},{"id":"7eab0edc-1dad-36bb-9cc3-83257b0064af","product":{"name":"12.0.12.23","vendor":{"name":"IBM"}}},{"id":"986f3c14-e3f4-3dd8-a6b3-295a944df83b","product":{"name":"12.0.12.24","vendor":{"name":"IBM"}}},{"id":"b4828048-06c0-3d90-b0b4-f8eed5848249","product":{"name":"App Connect Enterprise","vendor":{"name":"IBM"}}},{"id":"c026d1b7-50cf-3e36-a42e-5cd83b4fad7a","product":{"name":"Container Operator 12.0.22","vendor":{"name":"IBM"}}},{"id":"e1341150-1975-3366-84a6-16710c9c9b6d","product":{"name":"IBM App Connect Enterprise","vendor":{"name":"IBM"}}}]}}]}