Vulnerabilities/

Seroval affected by Denial of Service via Array serialization

Severity:
High

Description

Overriding encoded array lengths by replacing them with an excessively large value causes the deserialization process to significantly increase processing time.

Mitigation:
Seroval no longer encodes array lengths. Instead, it computes length using Array.prototype.length during deserialization.

Recommendation

Update the seroval package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
seroval
Anything's wrong? Let us know Last updated on January 22, 2026