CVE-2026-116580

Seroval: Deserialization invokes attacker-chosen callables: AsyncIteratorFactoryInstance calls source.on(listener) without type check

Published Oct 26, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.8, fromJSON rebuilds an AsyncIteratorFactoryInstance by calling source.on(listener) without requiring source to be a genuine internal stream. With untrusted Seroval input and an application plugin that returns a callable value or an object exposing an on method, a crafted node can reuse an identifier so the deserializer invokes the plugin-produced value. This is an incomplete-fix variant of CVE-2026-59940. The resulting confidentiality, integrity, or availability impact depends on the behavior exposed by the application plugin. This issue is fixed in version 1.6.8.

Analysis

AI-generated

Technical impact

Seroval is a JavaScript library for serializing complex structures. Before version 1.6.8, the deserialization routine could reconstruct an AsyncIteratorFactoryInstance by arbitrarily calling source.on(listener) without checking that the supplied source was a legitimate internal stream. An attacker who supplies crafted Seroval data can create an object that defines a callable value or an on method. By reusing an identifier during deserialization, the library will invoke the attacker‑generated function, potentially executing arbitrary code in the application’s context. This flaw is a type of insecure deserialization (CWE‑502) and can lead to confidentiality, integrity, or availability loss depending on the behavior that the plugin implements.

Affected Systems

The vulnerability appears in the lxsmnsyc:seroval library prior to version 1.6.8. Any application that uses an older Seroval release and accepts untrusted serialized input, especially if it includes custom plugins or callbacks, is vulnerable. The issue is addressed in seroval release 1.6.8 and later versions.

Risk and Exploitability

With a CVSS score of 7.3, the flaw presents a moderate to high severity risk. No EPSS data is available and the vulnerability is not listed in the CISA KEV catalog. The attack requires an attacker to supply malicious serialized data, and based on the description, it is inferred that this data could reach an application using Seroval if the application accepts external serialized input. Once processed, the attacker’s callable can execute within the application’s context, potentially allowing full control within the bounds of the plugin’s permissions. Because the flaw lies in deserialization, the exploitation path is well understood and likely to be automated in future tools.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the seroval library to version 1.6.8 or later
  • Review and restrict custom serialization plugins to trusted code only
  • Validate or sanitize serialized input before deserialization, ensuring only expected types are processed

Generated by OpenCVE AI on October 27, 2026 at 00:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-7rv5-mrxv-xcr9 Seroval: Deserialization invokes attacker-chosen callables: AsyncIteratorFactoryInstance calls source.on(listener) without type check
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Lxsmnsyc
Lxsmnsyc seroval
Vendors & Products Lxsmnsyc
Lxsmnsyc seroval
Type Values Removed Values Added
Description Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.8, fromJSON rebuilds an AsyncIteratorFactoryInstance by calling source.on(listener) without requiring source to be a genuine internal stream. With untrusted Seroval input and an application plugin that returns a callable value or an object exposing an on method, a crafted node can reuse an identifier so the deserializer invokes the plugin-produced value. This is an incomplete-fix variant of CVE-2026-59940. The resulting confidentiality, integrity, or availability impact depends on the behavior exposed by the application plugin. This issue is fixed in version 1.6.8.
Title Seroval: Deserialization invokes attacker-chosen callables: AsyncIteratorFactoryInstance calls source.on(listener) without type check
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 2, 2026, 6:11 PM
Reserved
Oct 26, 2026, 3:03 PM
Status
Deferred
Published
Oct 26, 2026, 9:18 PM
Modified
Nov 2, 2026, 7:17 PM
Severity
Important
Public date
Oct 26, 2026, 8:35 PM