Lookup for vulnerable packages by Package URL.
| Purl | pkg:deb/debian/node-serialize-javascript@5.0.1-2 |
| Type | deb |
| Namespace | debian |
| Name | node-serialize-javascript |
| Version | 5.0.1-2 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 7.0.5+~5.0.4-1 |
| Latest_non_vulnerable_version | 7.0.5+~5.0.4-1 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-vn8z-q24d-57bu |
| vulnerability_id |
VCID-vn8z-q24d-57bu |
| summary |
Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects
### Impact
**What kind of vulnerability is it?**
It is a **Denial of Service (DoS)** vulnerability caused by CPU exhaustion. When serializing a specially crafted "array-like" object (an object that inherits from `Array.prototype` but has a very large `length` property), the process enters an intensive loop that consumes 100% CPU and hangs indefinitely.
**Who is impacted?**
Applications that use `serialize-javascript` to serialize untrusted or user-controlled objects are at risk. While direct exploitation is difficult, it becomes a high-priority threat if the application is also vulnerable to **Prototype Pollution** or handles untrusted data via **YAML Deserialization**, as these could be used to inject the malicious object.
### Patches
**Has the problem been patched?**
Yes, the issue has been patched by replacing `instanceof Array` checks with `Array.isArray()` and using `Object.keys()` for sparse array detection.
**What versions should users upgrade to?**
Users should upgrade to **`v7.0.5`** or later.
### Workarounds
**Is there a way for users to fix or remediate the vulnerability without upgrading?**
There is no direct code-level workaround within the library itself. However, users can mitigate the risk by:
* Validating and sanitizing all input before passing it to the `serialize()` function.
* Ensuring the environment is protected against Prototype Pollution.
* Upgrading to **`v7.0.5`** as soon as possible.
### Acknowledgements
Serialize JavaScript thanks **Tomer Aberbach** (@TomerAberbach) for discovering and privately disclosing this issue. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2026-34043 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00017 |
| scoring_system |
epss |
| scoring_elements |
0.04061 |
| published_at |
2026-04-21T12:55:00Z |
|
| 1 |
| value |
0.00038 |
| scoring_system |
epss |
| scoring_elements |
0.11348 |
| published_at |
2026-04-02T12:55:00Z |
|
| 2 |
| value |
0.0004 |
| scoring_system |
epss |
| scoring_elements |
0.12185 |
| published_at |
2026-04-04T12:55:00Z |
|
| 3 |
| value |
0.00052 |
| scoring_system |
epss |
| scoring_elements |
0.16334 |
| published_at |
2026-04-13T12:55:00Z |
|
| 4 |
| value |
0.00052 |
| scoring_system |
epss |
| scoring_elements |
0.16291 |
| published_at |
2026-04-18T12:55:00Z |
|
| 5 |
| value |
0.00052 |
| scoring_system |
epss |
| scoring_elements |
0.16271 |
| published_at |
2026-04-16T12:55:00Z |
|
| 6 |
| value |
0.00052 |
| scoring_system |
epss |
| scoring_elements |
0.16305 |
| published_at |
2026-04-07T12:55:00Z |
|
| 7 |
| value |
0.00052 |
| scoring_system |
epss |
| scoring_elements |
0.16392 |
| published_at |
2026-04-08T12:55:00Z |
|
| 8 |
| value |
0.00052 |
| scoring_system |
epss |
| scoring_elements |
0.16451 |
| published_at |
2026-04-09T12:55:00Z |
|
| 9 |
| value |
0.00052 |
| scoring_system |
epss |
| scoring_elements |
0.16436 |
| published_at |
2026-04-11T12:55:00Z |
|
| 10 |
| value |
0.00052 |
| scoring_system |
epss |
| scoring_elements |
0.16396 |
| published_at |
2026-04-12T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2026-34043 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
|
| fixed_packages |
|
| aliases |
CVE-2026-34043, GHSA-qj8w-gfj5-8c6v
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-vn8z-q24d-57bu |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 3.1 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-serialize-javascript@5.0.1-2 |