Seroval
Monthly
Denial of service in the seroval npm package (versions 1.4.1 through 1.6.7) lets an unauthenticated remote attacker who can get a crafted payload into fromJSON or fromCrossJSON exhaust process memory or block the decoding thread indefinitely. The flaw is a residual bypass of the fix for CVE-2026-23957, because the deserializer still accepted an array-like object such as {"length":2000000} in place of a genuine element array, so allocation and loop counts followed the forged length rather than the actual bytes on the wire. It is fixed in 1.6.8; there is no confirmed active exploitation (not in CISA KEV, no public exploit identified at time of analysis) and EPSS is low at 0.36% (30th percentile), so exposure depends almost entirely on whether a service feeds untrusted input to these decoders.
Deserialization in Seroval prior to 1.6.8 accepts sequence nodes whose done and throw indices are unvalidated, so a crafted payload yields an iterator that never terminates; a related array-node flaw lets a node-supplied length drive the decoding loop. Affected are any services that pass untrusted input to fromJSON or fromCrossJSON, which a remote unauthenticated attacker can drive to block the event loop, exhaust memory, or take the service down (CVSS 7.5, availability-only). A public advisory, commit and test case are available; no public exploit code is confirmed and EPSS is low at 0.45% (39th percentile), with no CISA KEV listing.
Seroval deserialization can invoke attacker-chosen callables when an application passes untrusted input to fromJSON and registers a plugin whose deserialize result is a function or an object exposing an on method; a crafted AsyncIteratorFactoryInstance node reuses an identifier so the rebuild calls source.on(listener) on that plugin-produced value. All versions through 1.6.7 are affected, although 1.6.4 through 1.6.7 block the originally reported payload only to remain bypassable via node-id reuse. Practical risk is constrained by the non-default plugin prerequisite and by what the plugin's own callable does, and no public exploit was identified at time of analysis; version 1.6.8 fixes the flaw.
Deserialization of attacker-controlled JSON in plugin-capable Seroval releases 0.12.0 through 1.6.1 lets a remote unauthenticated attacker cause a plugin-produced callable to be invoked unexpectedly through native Promise settlement, resulting in arbitrary code execution in applications that pass untrusted input to the library's fromJSON path. The root cause is a thenable type-confusion defect (CWE-843) that bypasses the Promise resolver remediation shipped in 1.5.3 for CVE-2026-59940 because the dangerous invocation happens inside the native Promise resolution procedure after deserialization rather than in the resolver itself. CVSS is rated 9.8, and no public exploit code was identified at time of analysis; vendor-released patch: Seroval 1.6.2.
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.
Seroval versions 1.4.0 and below are vulnerable to denial of service attacks due to unbounded recursion when serializing deeply nested objects, allowing remote attackers to crash applications by exceeding the call stack limit. The vulnerability affects the deserialization library's handling of complex data structures without depth validation. Version 1.4.1 introduces a configurable depthLimit parameter to prevent exploitation of this resource exhaustion condition.
Seroval versions 1.4.0 and below are vulnerable to denial of service through malformed deserialization payloads that specify excessively large array lengths, causing the parsing process to consume excessive CPU resources and become unresponsive. An unauthenticated remote attacker can exploit this without user interaction by sending a crafted serialized object to any application using the vulnerable library. The vulnerability has been patched in version 1.4.1.
Seroval versions 1.4.0 and below allow remote attackers to cause denial of service through maliciously crafted RegExp patterns during deserialization, either by exhausting memory with oversized patterns or triggering catastrophic backtracking (ReDoS). The vulnerability requires no authentication or user interaction and affects any application using the library to deserialize untrusted serialized data. A patch is available in version 1.4.1.
Arbitrary code execution in Seroval versions 1.4.0 and below allows authenticated attackers to execute malicious JavaScript through improper deserialization handling in the fromJSON and fromCrossJSON functions. Exploitation requires multiple requests to the affected function and partial knowledge of runtime data usage, but grants full code execution capabilities. A patch is available in version 1.4.1 and later.
Seroval is affected by improperly controlled modification of object prototype attributes (prototype pollution) (CVSS 7.3).
Code injection in the Seroval JavaScript serialization library 1.6.0 through 1.6.10 lets attacker-controlled text become executable JavaScript in the serializer's output when an application copies an untrusted own `constructor` property onto a typed array and then passes that array to serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, the Serializer class, or compileJSON. The vendor rates the result low severity because that property-copying pattern is described as unusual, and the injected script only executes once a victim loads a page that receives the serialized output (CVSS 4.0 AV:N/AC:H/AT:P/PR:N/UI:P with scope change to confidentiality and integrity). There is no confirmed active exploitation (not in CISA KEV; SSVC exploitation: none) and no public exploit identified at time of analysis, with EPSS at 0.27% (19th percentile), and the flaw is fixed in Seroval 1.6.11.
Script injection in seroval's JavaScript-output serializers lets a RegExp whose source contains '<' terminate an HTML <script> element and execute attacker script in the rendered page, affecting releases before 1.0.0 and from 1.5.5 up to but not including 1.6.10. The flaw only materializes in applications that build regular-expression syntax from untrusted input, serialize that RegExp through serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, Serializer or compileJSON, and embed the output inside a script element as server-side rendering commonly does; a victim must then load that page (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N, 4.7). EPSS is low (0.19%, 8th percentile), the issue is not in CISA KEV, and no public exploit has been identified at time of analysis, though the vendor has released 1.6.10 with the fix.
Denial of service in the seroval npm package (versions 1.4.1 through 1.6.7) lets an unauthenticated remote attacker who can get a crafted payload into fromJSON or fromCrossJSON exhaust process memory or block the decoding thread indefinitely. The flaw is a residual bypass of the fix for CVE-2026-23957, because the deserializer still accepted an array-like object such as {"length":2000000} in place of a genuine element array, so allocation and loop counts followed the forged length rather than the actual bytes on the wire. It is fixed in 1.6.8; there is no confirmed active exploitation (not in CISA KEV, no public exploit identified at time of analysis) and EPSS is low at 0.36% (30th percentile), so exposure depends almost entirely on whether a service feeds untrusted input to these decoders.
Deserialization in Seroval prior to 1.6.8 accepts sequence nodes whose done and throw indices are unvalidated, so a crafted payload yields an iterator that never terminates; a related array-node flaw lets a node-supplied length drive the decoding loop. Affected are any services that pass untrusted input to fromJSON or fromCrossJSON, which a remote unauthenticated attacker can drive to block the event loop, exhaust memory, or take the service down (CVSS 7.5, availability-only). A public advisory, commit and test case are available; no public exploit code is confirmed and EPSS is low at 0.45% (39th percentile), with no CISA KEV listing.
Seroval deserialization can invoke attacker-chosen callables when an application passes untrusted input to fromJSON and registers a plugin whose deserialize result is a function or an object exposing an on method; a crafted AsyncIteratorFactoryInstance node reuses an identifier so the rebuild calls source.on(listener) on that plugin-produced value. All versions through 1.6.7 are affected, although 1.6.4 through 1.6.7 block the originally reported payload only to remain bypassable via node-id reuse. Practical risk is constrained by the non-default plugin prerequisite and by what the plugin's own callable does, and no public exploit was identified at time of analysis; version 1.6.8 fixes the flaw.
Deserialization of attacker-controlled JSON in plugin-capable Seroval releases 0.12.0 through 1.6.1 lets a remote unauthenticated attacker cause a plugin-produced callable to be invoked unexpectedly through native Promise settlement, resulting in arbitrary code execution in applications that pass untrusted input to the library's fromJSON path. The root cause is a thenable type-confusion defect (CWE-843) that bypasses the Promise resolver remediation shipped in 1.5.3 for CVE-2026-59940 because the dangerous invocation happens inside the native Promise resolution procedure after deserialization rather than in the resolver itself. CVSS is rated 9.8, and no public exploit code was identified at time of analysis; vendor-released patch: Seroval 1.6.2.
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.
Seroval versions 1.4.0 and below are vulnerable to denial of service attacks due to unbounded recursion when serializing deeply nested objects, allowing remote attackers to crash applications by exceeding the call stack limit. The vulnerability affects the deserialization library's handling of complex data structures without depth validation. Version 1.4.1 introduces a configurable depthLimit parameter to prevent exploitation of this resource exhaustion condition.
Seroval versions 1.4.0 and below are vulnerable to denial of service through malformed deserialization payloads that specify excessively large array lengths, causing the parsing process to consume excessive CPU resources and become unresponsive. An unauthenticated remote attacker can exploit this without user interaction by sending a crafted serialized object to any application using the vulnerable library. The vulnerability has been patched in version 1.4.1.
Seroval versions 1.4.0 and below allow remote attackers to cause denial of service through maliciously crafted RegExp patterns during deserialization, either by exhausting memory with oversized patterns or triggering catastrophic backtracking (ReDoS). The vulnerability requires no authentication or user interaction and affects any application using the library to deserialize untrusted serialized data. A patch is available in version 1.4.1.
Arbitrary code execution in Seroval versions 1.4.0 and below allows authenticated attackers to execute malicious JavaScript through improper deserialization handling in the fromJSON and fromCrossJSON functions. Exploitation requires multiple requests to the affected function and partial knowledge of runtime data usage, but grants full code execution capabilities. A patch is available in version 1.4.1 and later.
Seroval is affected by improperly controlled modification of object prototype attributes (prototype pollution) (CVSS 7.3).
Code injection in the Seroval JavaScript serialization library 1.6.0 through 1.6.10 lets attacker-controlled text become executable JavaScript in the serializer's output when an application copies an untrusted own `constructor` property onto a typed array and then passes that array to serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, the Serializer class, or compileJSON. The vendor rates the result low severity because that property-copying pattern is described as unusual, and the injected script only executes once a victim loads a page that receives the serialized output (CVSS 4.0 AV:N/AC:H/AT:P/PR:N/UI:P with scope change to confidentiality and integrity). There is no confirmed active exploitation (not in CISA KEV; SSVC exploitation: none) and no public exploit identified at time of analysis, with EPSS at 0.27% (19th percentile), and the flaw is fixed in Seroval 1.6.11.
Script injection in seroval's JavaScript-output serializers lets a RegExp whose source contains '<' terminate an HTML <script> element and execute attacker script in the rendered page, affecting releases before 1.0.0 and from 1.5.5 up to but not including 1.6.10. The flaw only materializes in applications that build regular-expression syntax from untrusted input, serialize that RegExp through serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, Serializer or compileJSON, and embed the output inside a script element as server-side rendering commonly does; a victim must then load that page (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N, 4.7). EPSS is low (0.19%, 8th percentile), the issue is not in CISA KEV, and no public exploit has been identified at time of analysis, though the vendor has released 1.6.10 with the fix.