# CVE-2026-104845: Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-10-02T15:55:21.197Z
- Modified: 2026-10-06T17:17:15.587Z
- Also known as: GHSA-jp82-f5mq-hwhp
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- lxsmnsyc seroval: < 1.6.3
- seroval (npm): before 1.6.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-jp82-f5mq-hwhp> (web)
- <https://github.com/lxsmnsyc/seroval/commit/ac0163e420ac7dcbbefac4d069bcefad300a4851> (web)
- <https://github.com/lxsmnsyc/seroval/commit/e54a6f62784b9e48e3a5fa2ab4089ca69fb8996e> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-104845> (advisory)
- <https://github.com/lxsmnsyc/seroval> (package)

## Sources

- CVE List: [CVE-2026-104845](https://www.cve.org/CVERecord?id=CVE-2026-104845), CVE Terms of Use, modified 2026-10-06
- GitHub Advisory Database: [GHSA-jp82-f5mq-hwhp](https://github.com/advisories/GHSA-jp82-f5mq-hwhp), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-104845](https://nvd.nist.gov/vuln/detail/CVE-2026-104845), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-104845 · Whole record: https://cve.day/CVE-2026-104845.json · Rebuilt by cve.day 2026-11-25T22:59:41.983Z
