Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

High · 7.5 Node.js & npm CVE-2026-116581 GHSA-97r2-qh9m-474h CVE-2026-116584 GHSA-wp97-x4hv-qvhp

Two Denial-of-Service Flaws in Seroval Deserializer Fixed in Version 1.6.8

Seroval, a JavaScript serialization library, contained two separate deserialization flaws that let unauthenticated attackers trigger infinite loops or uncontrolled memory allocation, potentially crashing services that parse untrusted input. Both are fixed in version 1.6.8.

By PatchBriefing · ·

Produced automatically from official sources with the help of AI. How we work →

AI summary

Two related security advisories affecting the npm package seroval, a library used to stringify and deserialize complex JavaScript values, were published on 26 October 2026. Both issues allow an unauthenticated attacker to cause a denial of service against any service that deserializes untrusted input using seroval's fromJSON or fromCrossJSON functions. Both are resolved in version 1.6.8.

What happened

Two distinct vulnerabilities were identified in seroval's deserialization functions, fromJSON and fromCrossJSON. The first, CVE-2026-116581, involves a sequence node's 'done' index not being validated, which can create an iterator that never completes once application code consumes it to completion. The second, CVE-2026-116584, involves an array node's element list not being validated as an actual array, allowing an attacker-controlled length value to drive memory allocation and decoder iterations independent of the actual payload size. Both issues can be triggered with a small, crafted payload and do not require authentication.

Technical cause

CVE-2026-116581 is classified as CWE-835, a loop with an unreachable exit condition (infinite loop), caused by trusting a node-supplied sequence 'done' index without validation. CVE-2026-116584 is classified as CWE-770, allocation of resources without limits or throttling, caused by trusting a node-supplied array length without verifying the underlying structure is actually an array. The advisory for CVE-2026-116584 notes that this issue is a residual bypass of the remediation applied for CVE-2026-23957, meaning the earlier fix did not fully close the underlying weakness.

Why it matters

Any application that uses seroval to deserialize data originating from untrusted sources — such as values received from clients over a network — is exposed. A single crafted request can block the event loop or exhaust process memory, making the affected service unavailable. No authentication or user interaction is required to trigger either issue.

Affected versions

For CVE-2026-116581, all seroval versions up to and including 1.6.7 are affected. For CVE-2026-116584, seroval versions from 1.4.1 up to and including 1.6.7 are affected. Both issues are resolved in version 1.6.8.

Fixes and mitigation

Both vulnerabilities are fixed in seroval version 1.6.8. There are no documented workarounds other than upgrading; applications that must continue using an older version should avoid deserializing untrusted input with fromJSON or fromCrossJSON.

Recommended action

Update seroval to version 1.6.8 or later as soon as possible, particularly in any service that deserializes data from external or untrusted sources. Review dependency trees for indirect use of seroval, since the library may be pulled in transitively by other packages.

PatchBriefing score

7.5 / 10 · High

Official CVSS: 7.5

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS 0.0061 (43 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

seroval <= 1.6.7
vulnerable
seroval ≥ 0 < 1.6.8
vulnerable
≥ 1.6.8
patched
seroval >= 1.4.1, <= 1.6.7
vulnerable
seroval ≥ 1.4.1 < 1.6.8
vulnerable
≥ 1.6.8
patched

Reported fixes

Both vulnerabilities are fixed in seroval version 1.6.8. There are no documented workarounds other than upgrading; applications that must continue using an older version should avoid deserializing untrusted input with fromJSON or fromCrossJSON.

How this was built

6 source records were collected, matched and used to prepare the report above.

  • NVD (NIST) database
  • NVD (NIST) database
  • GitHub Advisory Database database
  • GitHub Advisory Database database
  • OSV.dev database
  • OSV.dev database
Unified report
Two Denial-of-Service Flaws in Seroval Deserializer Fixed in Version 1.6.8
1 article · 6 sources cited
Revision history
  1. Published
  2. Generated
  3. Published
  4. Generated
  5. Published
  6. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email