Intel

AIKIDO-2026-634891

seroval is vulnerable to Denial of Service

GHSA-9355-h2pj-8fqjPublished Oct 5, 2026
October 5, 2026

75

CVE Score

High

Denial of Service

Are you affected? Scan for Free

TL;DR

seroval's JSON deserializers (fromJSON/fromCrossJSON) build typed array and DataView values from a buffer node without checking its type, so a crafted payload can put a number or an array like value in that buffer and select an unexpected TypedArray constructor overload. A request body of about 90 to 142 bytes then makes the deserializer allocate hundreds of megabytes to gigabytes of memory and consume CPU, and in cross mode the oversized buffer stays in the shared refs map across chunks. Any server that passes a body received over HTTP straight into the deserializer is exposed with no other precondition, and applications that also register functions through createReference() can have one of those functions called during the same deserialization. The fix checks that the buffer node is an actual ArrayBuffer before constructing the typed array or view.

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.0.1 - 1.6.3

Fixed in 1.6.4

Background info

seroval is vulnerable to Denial of Service in versions 0.0.1 - 1.6.3.

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