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.
{
"github_reviewed": true,
"cwe_ids": [
"CWE-770"
],
"severity": "HIGH",
"github_reviewed_at": "2026-01-21T17:05:54Z",
"nvd_published_at": "2026-01-22T02:15:52Z"
}