Intel

AIKIDO-2026-68618

seroval is vulnerable to Denial of Service (DoS)

CVE-2026-104845Published Sep 23, 2026
September 23, 2026

75

CVE Score

High

Denial of Service (DoS)

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.

How do I fix this?

Upgrade the seroval library to the patch version.

Who does this affect?

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

Package

Versions

0.1.0 - 1.6.2

Fixed in 1.6.3

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea