PT-2026-28596 · Unknown · Serialize-Javascript

Tomeraberbach

·

Published

2026-03-27

·

Updated

2026-05-27

·

CVE-2026-34043

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions serialize-javascript versions prior to 7.0.5
Description This issue involves a Denial of Service (DoS) caused by CPU exhaustion. When serializing a specially crafted "array-like" object – an object inheriting from Array.prototype with a very large length property – the process enters an intensive loop, consuming 100% CPU and causing indefinite hanging. The vulnerability occurs when using the serialize() function with untrusted or user-controlled objects. The issue is exacerbated 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. The problem was addressed by replacing instanceof Array checks with Array.isArray() and using Object.keys() for sparse array detection.
Recommendations Upgrade to version 7.0.5 or later.

Exploit

Fix

DoS

Resource Exhaustion

Weakness Enumeration

Related Identifiers

ALSA-2026:21286
ALSA-2026:21291
ALSA-2026:21293
CLEANSTART-2026-BE61221
CVE-2026-34043
GHSA-QJ8W-GFJ5-8C6V

Affected Products

Serialize-Javascript