Skip to main content

Seroval EUVDEUVD-2026-91744

| CVE-2026-104845 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-10-02 GitHub_M GHSA-jp82-f5mq-hwhp
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify endpoint deserializing seroval JSON
  2. Delivery
    Craft small JSON with huge TypedArray length
  3. Exploit
    Submit payload to fromJSON/fromCrossJSON
  4. Execution
    Unbounded synchronous array allocation
  5. Impact
    CPU/memory exhaustion, event loop starvation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application deserialize attacker-controlled data using seroval's fromJSON or fromCrossJSON, and that the malicious payload contain a TypedArray node ('t' node with field 'l') declaring an oversized element length. The specific defect is that deserializeTypedArray trusts the source as an ArrayBuffer and the offset check (offset > source.byteLength) is bypassed because source.byteLength is undefined, so the element count is never bounded before the TypedArray constructor allocates. Limiting factors: the application must actually route untrusted input into seroval deserialization (not merely import the library); impact is availability-only (CPU/memory/event-loop exhaustion) with no data disclosure or corruption; the DataView path reaches a similar unchecked cast but throws instead of allocating, so it is not exploitable for resource exhaustion. Affected versions are all releases prior to 1.6.3.

Impact

This is an uncontrolled resource allocation / Denial-of-Service flaw (CWE-770) with no confidentiality or integrity impact, as reflected in the CVSS 3.1 vector (C:N/I:N/A:H) scoring 7.5. The vector reports network attack (AV:N), low complexity (AC:L), no privileges (PR:N), and no user interaction (UI:N), which legitimately earns a HIGH availability score because a single small malicious JSON payload can force synchronous allocation of an attacker-chosen element count, exhausting CPU/memory and starving the event loop. However, the raw CVSS overstates practical universality: exploitation is only reachable in applications that actually call seroval's fromJSON or fromCrossJSON on attacker-controlled serialized data - a real but conditional deployment pattern, not a default-on remote service. No EPSS score, SSVC decision, KEV listing, or POC was provided in the input; per the precision rules this is treated as 'no public exploit identified at time of analysis.' There is no sign of active exploitation. Net assessment: a genuine, easy-to-trigger DoS for the specific applications that deserialize untrusted seroval payloads, but availability-only and dependent on that data-flow - a real patch-soon priority for affected consumers rather than a mass-exploitation emergency.

Exploit ScenarioDerived

An application uses seroval's fromJSON/fromCrossJSON to deserialize data originating from an untrusted client (e.g., an SSR hydration or RPC boundary). The attacker submits a tiny JSON object whose TypedArray node declares a huge length value; because the offset check passes (source.byteLength is undefined) and the element count is unbounded, the TypedArray constructor synchronously allocates the enormous array, exhausting memory/CPU and freezing the event loop. No public exploit code was identified at time of analysis, though the fix commit and regression test demonstrate the trigger precisely.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 02, 2026

Denial of service in Seroval versions prior to 1.6.3 allows unauthenticated remote attackers to exhaust CPU and memory by submitting a small crafted JSON payload whose TypedArray node declares an oversized element count, which the deserializer then allocates synchronously and unbounded while starving the event loop. Exploitation requires the target application to route attacker-controlled data into seroval's fromJSON or fromCrossJSON; the library is a JavaScript value-serialization dependency, so the practical exposure is limited to services that deserialize untrusted input with it. Impact is availability-only (CVSS 3.1 7.5, AV:N/AC:L/PR:N/UI:N/C:N/I:N/A:H) with no confidentiality or integrity loss, and no public exploit code has been identified at time of analysis.

RemediationAI

Upgrade to seroval 1.6.3 (vendor-released patch), which introduces the MAX_TYPED_ARRAY_LENGTH/MAX_BASE64_LENGTH bound of 1,000,000 elements both when serializing typed arrays, BigInt typed arrays and DataView values and when deserializing TypedArray and DataView nodes, rejecting oversized payloads with SerovalUnsupportedTypeError; the fix is captured in commits ac0163e420ac7dcbbefac4d069bcefad300a4851 and e54a6f62784b9e48e3a5fa2ab4089ca69fb8996e, with details in advisory GHSA-jp82-f5mq-hwhp. If upgrading is not immediately possible, compensating controls should focus on the deserialization boundary: never pass untrusted client data directly into fromJSON/fromCrossJSON without size-capping the raw payload and pre-validating that any 't' node's 'l' field is within an application-defined maximum (reject before invoking the deserializer), since the allocation happens synchronously and process-level timeouts, request cancellation, or an async watchdog cannot interrupt it mid-call. Additional options with trade-offs include running seroval deserialization in a separate worker/process with an enforced memory cap and kill-on-limit (adds latency and IPC complexity but contains the event-loop starvation), gating the endpoint behind authentication or rate limiting (reduces but does not eliminate abuse from authenticated or distributed clients), and, where the payload format permits, preferring plain JSON.parse or a strictly length-checked codec for untrusted input (loses seroval's extended-type support such as TypedArray/BigInt/DataView revival). Note that the DataView deserialization path reaches a similar unchecked cast but throws rather than allocating, so it needs no separate mitigation beyond the version upgrade.

Affected VersionsENISA

seroval < 1.6.3

Affected Packages

npm seroval fix: 1.6.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Seroval is a JavaScript/TypeScript library that stringifies and revives values beyond what JSON.stringify supports, including TypedArrays, BigInt typed arrays, DataView, boxed primitives, and cyclic structures, using a compact node-tagged intermediate format. The flaw is a CWE-770 uncontrolled resource allocation in the deserialization path: deserializeTypedArray in fromJSON/fromCrossJSON treats the deserialized source value as an ArrayBuffer and validates only offset bounds (offset < 0 || offset > source.byteLength). Because the crafted source is not a real ArrayBuffer, source.byteLength is undefined, the comparison silently fails, and a node-level length field ('l') is never bounded before the array-like TypedArray constructor synchronously allocates that many elements - a small JSON object with a huge length therefore triggers proportional memory and CPU consumption that blocks the event loop. The commit adds a MAX_TYPED_ARRAY_LENGTH / MAX_BASE64_LENGTH cap of 1,000,000 applied both at serialization time (createBoxedNode, createBigIntTypedArrayNode, createDataViewNode throw SerovalUnsupportedTypeError when the limit is exceeded) and at deserialization time (the node.l > MAX_BASE64_LENGTH guard added to deserializeTypedArray and deserializeDataView), and a regression test confirms that a TypedArray node claiming length MAX+1 is rejected. The DataView path hits a comparable unchecked cast but throws instead of allocating, so it cannot be abused for resource exhaustion.

Know when Seroval gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remote unauthenticated attacker supplies untrusted serialized input (AV:N/AC:L/PR:N/UI:N); availability-only resource exhaustion (A:H) with no confidentiality or integrity impact and no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Oct 02, 2026 - 17:02 EUVD
CVE Published
Oct 02, 2026 - 15:55 cve.org
HIGH 7.5

DescriptionCVE.org

Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.3, deserializeTypedArray in fromJSON and fromCrossJSON trusts a deserialized source value as an ArrayBuffer and does not bound the serialized element count. An attacker can provide a small untrusted JSON object with a large length value, causing the array-like TypedArray constructor to synchronously allocate the selected number of elements and exhaust CPU or memory while starving the event loop. The offset check does not reject the crafted source because source.byteLength is undefined. DataView reaches a similar unchecked cast but throws rather than allocating, and the issue has no identified confidentiality or integrity impact. This issue is fixed in version 1.6.3.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 npm packages depend on seroval (1 direct, 1 indirect)

Ecosystem-wide dependent count for version 1.6.3.

Technical POC Analysis

Evidence note: the supplied material is the GitHub advisory GHSA-jp82-f5mq-hwhp only.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-104845 affects Seroval, a JavaScript serialization library embedded in our Node.js services, and allows a tiny crafted JSON payload to exhaust CPU and memory in any service that deserializes untrusted input through Seroval's fromJSON or fromCrossJSON functions. The impact is availability only - no data theft or tampering is possible - but an affected service can become unresponsive to all users, making this an outage risk rather than a breach risk. Leadership should care because the exposure sits in a third-party dependency rather than our own code, and it is concentrated in internet-facing endpoints that accept and deserialize client-supplied JSON.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce strict request-body size limits and per-client rate limiting on any endpoint that accepts JSON; apply WAF or API-gateway rules that reject payloads with oversized declared TypedArray element counts; add server-side schema validation to bound array and typed-array lengths before deserialization; never pass raw untrusted input to seroval's fromJSON or fromCrossJSON; run deserialization in worker threads or child processes with enforced memory/CPU caps and hard timeouts; isolate high-exposure services so one exhausted event loop cannot cascade; and monitor CPU and heap anomalies with alerting on affected routes.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
serialization library used in the Solid.js/SolidStart SSR ecosystem, not standalone-ubiquitous
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-116581 HIGH POC
7.5 Oct 26

Deserialization in Seroval prior to 1.6.8 accepts sequence nodes whose done and throw indices are unvalidated, so a craf

CVE-2026-116584 HIGH POC
7.5 Oct 26

Denial of service in the seroval npm package (versions 1.4.1 through 1.6.7) lets an unauthenticated remote attacker who

CVE-2026-116580 HIGH POC
7.3 Oct 26

Seroval deserialization can invoke attacker-chosen callables when an application passes untrusted input to fromJSON and

CVE-2026-104846 CRITICAL POC
9.8 Oct 02

Deserialization of attacker-controlled JSON in plugin-capable Seroval releases 0.12.0 through 1.6.1 lets a remote unauth

CVE-2026-116582 MEDIUM POC
4.7 Oct 26

Script injection in seroval's JavaScript-output serializers lets a RegExp whose source contains '<' terminate an HTML <s

CVE-2026-23737 HIGH POC
7.5 Jan 21

Arbitrary code execution in Seroval versions 1.4.0 and below allows authenticated attackers to execute malicious JavaScr

CVE-2026-23957 HIGH
7.5 Jan 22

Seroval versions 1.4.0 and below are vulnerable to denial of service through malformed deserialization payloads that spe

CVE-2026-24006 HIGH
7.5 Jan 22

Seroval versions 1.4.0 and below are vulnerable to denial of service attacks due to unbounded recursion when serializing

CVE-2026-23956 HIGH
7.5 Jan 22

Seroval versions 1.4.0 and below allow remote attackers to cause denial of service through maliciously crafted RegExp pa

CVE-2026-23736 HIGH
7.3 Jan 21

Seroval is affected by improperly controlled modification of object prototype attributes (prototype pollution) (CVSS 7.3

CVE-2026-116583 MEDIUM POC
5.3 Oct 26

Code injection in the Seroval JavaScript serialization library 1.6.0 through 1.6.10 lets attacker-controlled text become

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy