Vulnerability · Published Mar 31, 2026 · Assigned by GitHub_M

CVE-2026-34043Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects

Medium 5.9

In plain English

A medium-severity uncontrolled resource consumption in serialize-javascript from yahoo. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.5%top 57.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Serialize JavaScript to a superset of JSON that includes regular expressions and functions. Prior to version 7.0.5, there 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. This issue has been patched in version 7.0.5.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10aspnetcore-runtime-8.08.0.27-1.el10_2ALSA-2026:21286
AlmaLinux:8aspnetcore-runtime-8.08.0.27-1.el8_10ALSA-2026:21291
AlmaLinux:9aspnetcore-runtime-8.08.0.27-1.el9_8ALSA-2026:21293
AlmaLinux:10aspnetcore-runtime-dbg-8.08.0.27-1.el10_2ALSA-2026:21286
AlmaLinux:8aspnetcore-runtime-dbg-8.08.0.27-1.el8_10ALSA-2026:21291
AlmaLinux:9aspnetcore-runtime-dbg-8.08.0.27-1.el9_8ALSA-2026:21293
AlmaLinux:10aspnetcore-targeting-pack-8.08.0.27-1.el10_2ALSA-2026:21286
AlmaLinux:8aspnetcore-targeting-pack-8.08.0.27-1.el8_10ALSA-2026:21291
AlmaLinux:9aspnetcore-targeting-pack-8.08.0.27-1.el9_8ALSA-2026:21293
AlmaLinux:10dotnet-apphost-pack-8.08.0.27-1.el10_2ALSA-2026:21286
AlmaLinux:8dotnet-apphost-pack-8.08.0.27-1.el8_10ALSA-2026:21291
AlmaLinux:9dotnet-apphost-pack-8.08.0.27-1.el9_8ALSA-2026:21293
AlmaLinux:10dotnet-hostfxr-8.08.0.27-1.el10_2ALSA-2026:21286
AlmaLinux:8dotnet-hostfxr-8.08.0.27-1.el8_10ALSA-2026:21291
AlmaLinux:9dotnet-hostfxr-8.08.0.27-1.el9_8ALSA-2026:21293
AlmaLinux:10dotnet-runtime-8.08.0.27-1.el10_2ALSA-2026:21286
AlmaLinux:8dotnet-runtime-8.08.0.27-1.el8_10ALSA-2026:21291
AlmaLinux:9dotnet-runtime-8.08.0.27-1.el9_8ALSA-2026:21293
AlmaLinux:10dotnet-runtime-dbg-8.08.0.27-1.el10_2ALSA-2026:21286
AlmaLinux:8dotnet-runtime-dbg-8.08.0.27-1.el8_10ALSA-2026:21291
AlmaLinux:9dotnet-runtime-dbg-8.08.0.27-1.el9_8ALSA-2026:21293
AlmaLinux:10dotnet-sdk-8.08.0.127-1.el10_2ALSA-2026:21286
AlmaLinux:8dotnet-sdk-8.08.0.127-1.el8_10ALSA-2026:21291
AlmaLinux:9dotnet-sdk-8.08.0.127-1.el9_8ALSA-2026:21293
AlmaLinux:10dotnet-sdk-8.0-source-built-artifacts8.0.127-1.el10_2ALSA-2026:21286
AlmaLinux:8dotnet-sdk-8.0-source-built-artifacts8.0.127-1.el8_10ALSA-2026:21291
AlmaLinux:9dotnet-sdk-8.0-source-built-artifacts8.0.127-1.el9_8ALSA-2026:21293
AlmaLinux:10dotnet-sdk-dbg-8.08.0.127-1.el10_2ALSA-2026:21286
AlmaLinux:8dotnet-sdk-dbg-8.08.0.127-1.el8_10ALSA-2026:21291
AlmaLinux:9dotnet-sdk-dbg-8.08.0.127-1.el9_8ALSA-2026:21293
AlmaLinux:10dotnet-targeting-pack-8.08.0.27-1.el10_2ALSA-2026:21286
AlmaLinux:8dotnet-targeting-pack-8.08.0.27-1.el8_10ALSA-2026:21291
AlmaLinux:9dotnet-targeting-pack-8.08.0.27-1.el9_8ALSA-2026:21293
AlmaLinux:10dotnet-templates-8.08.0.127-1.el10_2ALSA-2026:21286
AlmaLinux:8dotnet-templates-8.08.0.127-1.el8_10ALSA-2026:21291
AlmaLinux:9dotnet-templates-8.08.0.127-1.el9_8ALSA-2026:21293
Debian:12node-serialize-javascriptno fix listedDEBIAN-CVE-2026-34043
Debian:13node-serialize-javascriptno fix listedDEBIAN-CVE-2026-34043
Debian:14node-serialize-javascript7.0.5+~5.0.4-1DEBIAN-CVE-2026-34043
Rocky Linux:10dotnet8.00:8.0.127-1.el10_2RLSA-2026:21286
Rocky Linux:8dotnet8.00:8.0.127-1.el8_10RLSA-2026:21291
Rocky Linux:9dotnet8.00:8.0.127-1.el9_8RLSA-2026:21293
Ubuntu:22.04:LTSnode-serialize-javascriptno fix listedUBUNTU-CVE-2026-34043
Ubuntu:24.04:LTSnode-serialize-javascriptno fix listedUBUNTU-CVE-2026-34043
Ubuntu:25.10node-serialize-javascriptno fix listedUBUNTU-CVE-2026-34043
Ubuntu:26.04:LTSnode-serialize-javascriptno fix listedUBUNTU-CVE-2026-34043
Ubuntu:26.10node-serialize-javascriptno fix listedUBUNTU-CVE-2026-34043
npmserialize-javascript7.0.5GHSA-qj8w-gfj5-8c6v

Affected products (as reported)

VendorProductVersions
yahoo serialize-javascript < 7.0.5

Weakness: CWE-400, CWE-834 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References