{
  "cveId": "CVE-2026-24001",
  "url": "https://patchblox.com/security/cve/CVE-2026-24001",
  "summary": "CVE-2026-24001 is fixed in node-diff on 1 platform by DEBIAN-CVE-2026-24001 (version 5.2.2~dfsg\u002B~5.2.3-1), released January 22, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "node-diff: jsdiff is a JavaScript text differencing implementation",
  "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 \u0060\\r\u0060, \u0060\\u2028\u0060, or \u0060\\u2029\u0060 can cause the \u0060parsePatch\u0060 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 \u0060parsePatch\u0060 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 \u0060parsePatch\u0060 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 \u0060applyPatch\u0060 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 \u0060parsePatch\u0060. 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 \u0022leading garbage\u0022). A maliciously-crafted patch header of length *n* can take \u0060parsePatch\u0060 O(*n*\u00B3) 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: \u0060\\r\u0060, \u0060\\u2028\u0060, or \u0060\\u2029\u0060.",
  "published": "2026-01-22T03:15:47Z",
  "severity": "high",
  "cvss": 7.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00616,
  "epssPercentile": 0.49805,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "node-diff",
      "release": "Debian 14",
      "fixedVersion": "5.2.2~dfsg\u002B~5.2.3-1",
      "fix": "DEBIAN-CVE-2026-24001",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-24001",
      "released": "2026-01-22T03:15:47Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T07:25:28Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}