CVE-2026-104845 Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
Description
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.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform/automation-orchestrator-ui-rhel9(Red Hat ansible_automation_orchestrator 2026.8) | All versions | No fix listed | No fix yet |
| npm seroval(npm) | < 1.6.3; <= 1.6.2 | 1.6.3 | Fixed |
| lxsmnsyc seroval | = < 1.6.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lxsmnsyc seroval | = < 1.6.3 | No fix listed |
| redhat/ansible-automation-platform/automation-orchestrator-ui-rhel9(Red Hat:ansible_automation_orchestrator:2026.8) | All versions | No fix listed |
| npm seroval(npm) | <= 1.6.2 | No fix listed |
| npm seroval(npm) | < 1.6.3 | 1.6.3 |
References
- https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-jp82-f5mq-hwhp vendor-advisory
- https://github.com/lxsmnsyc/seroval/commit/ac0163e420ac7dcbbefac4d069bcefad300a4851 patch
- https://github.com/lxsmnsyc/seroval/commit/e54a6f62784b9e48e3a5fa2ab4089ca69fb8996e patch
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2545261 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-91744 third-party-advisory