Vulnerability GHSA-hx9m-jf43-8ffr

High Risk
HIGH RISK
CVSS Score: 7.5
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
8 months ago
January 21, 2026 at 04:57 PM UTC
seroval affected by Denial of Service via RegExp serialization
0.2.0 - 1.4.0
0.2.0 - 1.4.0

Summary

seroval affected by Denial of Service via RegExp serialization

Details

Overriding RegExp serialization with extremely large patterns can exhaust JavaScript runtime memory during deserialization. Additionally, overriding RegExp serialization with patterns that trigger catastrophic backtracking can lead to ReDoS (Regular Expression Denial of Service).

Mitigation:
Seroval introduces disabledFeatures (a bitmask) in serialization/deserialization methods, with Feature.RegExp as a dedicated flag. Users are recommended to configure disabledFeatures to disable RegExp serialization entirely.

Impacted packages

Timeline

Published
8 months ago
January 21, 2026 at 04:57 PM UTC
Fixed (1.4.1)
9 months ago
December 19, 2025 at 11:25 PM UTC
Last Modified
4 months ago
May 20, 2026 at 01:00 AM UTC