Skip to content
Heist/ feed
High

Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-104845

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-104845

seroval

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "lxsmnsyc",
    "product": "seroval",
    "versions": [
      {
        "status": "affected",
        "version": "< 1.6.3"
      }
    ]
  }
]
Related CVEs
CVE-2026-104845

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#9375 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement