kpdecker jsdiff up to 4.0.3/5.2.1/8.0.2 Patch parsePatch resource consumption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as problematic has been discovered in kpdecker jsdiff up to 4.0.3/5.2.1/8.0.2. This issue affects the function parsePatch of the component Patch Handler. Executing a manipulation can lead to resource consumption.
This vulnerability is registered as CVE-2026-24001. It is possible to launch the attack remotely. No exploit is available.
It is advisable to upgrade the affected component.
Details
A vulnerability classified as problematic was found in kpdecker jsdiff up to 4.0.3/5.2.1/8.0.2. This vulnerability affects the function parsePatch of the component Patch Handler. The manipulation with an unknown input leads to a resource consumption vulnerability. The CWE definition for the vulnerability is CWE-400. The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources. As an impact it is known to affect availability. CVE summarizes:
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's *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`.
The advisory is shared for download at github.com. This vulnerability was named CVE-2026-24001 since 01/19/2026. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1499.
The vulnerability scanner Nessus provides a plugin with the ID 296224 (Linux Distros Unpatched Vulnerability : CVE-2026-24001), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 4.0.4, 5.2.2 or 8.0.3 eliminates this vulnerability. Applying the patch 15a1585230748c8ae6f8274c202e0c87309142f5 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (296224) and CERT Bund (WID-SEC-2026-0526). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- IBM App Connect Enterprise
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/kpdecker/jsdiff/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Resource consumptionCWE: CWE-400 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 296224
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-24001
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: jsdiff 4.0.4/5.2.2/8.0.3
Patch: 15a1585230748c8ae6f8274c202e0c87309142f5
Timeline
01/19/2026 CVE reserved01/22/2026 Advisory disclosed
01/22/2026 VulDB entry created
03/18/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 653
Status: Confirmed
CVE: CVE-2026-24001 (🔒)
GCVE (CVE): GCVE-0-2026-24001
GCVE (VulDB): GCVE-100-342280
CERT Bund: WID-SEC-2026-0526 - IBM App Connect Enterprise: Mehrere Schwachstellen
Entry
Created: 01/22/2026 08:03Updated: 03/18/2026 16:08
Changes: 01/22/2026 08:03 (72), 01/23/2026 14:26 (2), 01/27/2026 11:23 (1), 01/31/2026 05:14 (1), 03/04/2026 16:59 (11), 03/18/2026 16:08 (7)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.