CVE-2026-24006 Seroval affected by Denial of Service via Deeply Nested Objects

High 7.5 Published Updated

Attackers can cause a denial of service by providing deeply nested objects to the Seroval library, exceeding the call stack limit.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-24006?

CVE-2026-24006 is a high-severity denial of service vulnerability in lxsmnsyc seroval, published on 22 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. In versions 1.4.0 and below, serialization of objects with extreme depth can exceed the maximum call stack limit. In version 1.4.1, Seroval introduces a `depthLimit` parameter in serialization/deserialization methods. An error will be thrown if the depth limit is reached.

Weakness: CWE-770

Which versions are affected by CVE-2026-24006?

2 open source packages ship an affected version, including seroval. It affects 1 product.

PackageAffectedFixed in
seroval npmAll versions1.4.1
seroval npmAll versions1.4.1

Products include Lxsmnsyc Seroval.

How do I fix CVE-2026-24006?

Upgrade seroval to 1.4.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-24006 being exploited?

There is no known exploitation of CVE-2026-24006 in the wild and no public exploit code.

Sources

Also known as GHSA-3j22-8qj3-26mx.

Is CVE-2026-24006 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free