Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| lxsmnsyc | seroval | before 1.6.3 | 1.6.3 | Patch available | CNA |
| — | seroval (npm) | before 1.6.3 | 1.6.3 | Patch available | GHSA-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
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 →
| Product | Status | Plan or fix |
|---|---|---|
| Ansible Automation Orchestrator 2026 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-104845
- 2026-10-04 Priority changed: MEDIUM → LOW
- 2026-10-06 Alias added: GHSA-jp82-f5mq-hwhp
- 2026-10-06 Fix available: npm/[email protected] · GHSA-jp82-f5mq-hwhp
- 2026-10-06 CVSS score added · GHSA-jp82-f5mq-hwhp
- 2026-10-06 Weakness changed · GHSA-jp82-f5mq-hwhp
- 2026-10-06 5 new references · GHSA-jp82-f5mq-hwhp
- 2026-10-06 CISA SSVC decision points changed
References
More lxsmnsyc vulnerabilities
- 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
Sources
- CVE-2026-104845 · CVE Program
- CVE-2026-104845 · NVD
- FIRST EPSS
- GHSA-jp82-f5mq-hwhp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-104845 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences