Intel

AIKIDO-2026-68618

seroval is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-jp82-f5mq-hwhp Published Today

75

High Risk

This Affects:

JSseroval
0.1.0 - 1.6.2
Fixed in 1.6.3
Are you affected? Scan for Free

TL;DR

seroval's deserializeTypedArray casts the source node to ArrayBuffer without verifying it and never bounds the element count carried in the payload. A plain object with only a length property is passed to the TypedArray constructor, which synchronously allocates that many elements inside fromJSON and fromCrossJSON, blocking the event loop on a tiny payload. The offset guard above it does not stop this because source.byteLength is undefined on the forged source, so that comparison is always false. The fix caps the declared length against a fixed maximum before construction.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

seroval is vulnerable to Denial of Service (DoS) in versions 0.1.0 - 1.6.2.

How to fix this

Upgrade the seroval library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform