Improper Handling of Length Parameter Inconsistency Affecting org.webjars.npm:seroval package, versions [1.4.1,1.6.8)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-21755421
  • published27 Oct 2026
  • disclosed26 Oct 2026
  • creditMark Anthony Llego

Introduced: 26 Oct 2026

NewCVE-2026-116584  (opens in a new tab)
CWE-130  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:seroval to version 1.6.8 or higher.

Overview

org.webjars.npm:seroval is a Stringify JS values

Affected versions of this package are vulnerable to Improper Handling of Length Parameter Inconsistency via the fromJSON/fromCrossJSON deserialization path in deserializer.ts, where a node's element list is not validated to be a real array before use. An attacker can supply a payload containing an array-like object (e.g. {"length": 1000000000} or {"length": "Infinity"}) in place of a genuine element list for arrays, object/record properties, Set, Map, StreamConstructor, or Sequence nodes. Because the length property drives allocation and iteration with no matching data on the wire, a tiny payload forces unbounded memory allocation and work, crashing the process.

CVSS Base Scores

version 4.0
version 3.1