Read the docs

Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization

Priority LOW 39CWE-770Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00426 37th percentileScored 2026-11-07
Fix Partial seroval (lxsmnsyc): 1.6.3seroval (npm): 1.6.3Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
lxsmnsycserovalbefore 1.6.31.6.3Patch availableCNA
—seroval (npm)before 1.6.31.6.3Patch availableGHSA-jp82-f5mq-hwhp
  • seroval Vendorlxsmnsyc Affected before 1.6.3 Fixed in 1.6.3 Patch available CNA
  • seroval (npm) Vendor— Affected before 1.6.3 Fixed in 1.6.3 Patch available GHSA-jp82-f5mq-hwhp

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:lxsmnsyc:seroval:*:*:*:*:*:*:*:*——lxsmnsyc
  • cpe:2.3:a:lxsmnsyc:seroval:*:*:*:*:*:*:*:* Versions — — ·lxsmnsyc

Remediation

  • Fix · CNA seroval (lxsmnsyc) Fixed in 1.6.3
  • Fix · GHSA-jp82-f5mq-hwhp seroval (npm) Fixed in 1.6.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Ansible Automation Orchestrator 2026AffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-104845
  2. 2026-10-04 Priority changed: MEDIUM → LOW
  3. 2026-10-06 Alias added: GHSA-jp82-f5mq-hwhp
  4. 2026-10-06 Fix available: npm/[email protected] · GHSA-jp82-f5mq-hwhp
  5. 2026-10-06 CVSS score added · GHSA-jp82-f5mq-hwhp
  6. 2026-10-06 Weakness changed · GHSA-jp82-f5mq-hwhp
  7. 2026-10-06 5 new references · GHSA-jp82-f5mq-hwhp
  8. 2026-10-06 CISA SSVC decision points changed

References

  • TI-2026-42747 Seroval: `seroval.fromJSON()` Promise resolver type confusion invokes attacker-controlled methods during deserialization CVSS 3.1CRITICAL 9.8
  • TI-2026-66132 Seroval: `fromJSON()` Promise thenable assimilation invokes plugin-produced callables (bypass of CVE-2026-59940) CVSS 3.1CRITICAL 9.8
  • TI-2026-19109 seroval Affected by Prototype Pollution via JSON Deserialization CVSS 3.1CRITICAL 9.8
  • TI-2026-19298 seroval affected by Denial of Service via RegExp serialization CVSS 3.1HIGH 7.5
  • TI-2026-80920 Denial of service in Seroval fromJSON via unvalidated array length CVSS 3.1HIGH 7.5
  • TI-2026-80917 Seroval fromJSON deserializer hangs on crafted sequence, causing DoS CVSS 3.1HIGH 7.5
See all 12 →

Sources