Vulnerability Description
seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. In versions 0.2.0 through 1.4.0, 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). This issue has been fixed in version 1.4.1.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lxsmnsyc | Seroval | < 1.4.1 |
Related Weaknesses (CWE)
References
- https://github.com/lxsmnsyc/seroval/blob/v0.2.0/packages/seroval/src/index.ts#L9
- https://github.com/lxsmnsyc/seroval/commit/ce9408ebc87312fcad345a73c172212f2a798Patch
- https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-hx9m-jf43-8ffrMitigationVendor Advisory
FAQ
What is CVE-2026-23956?
CVE-2026-23956 is a vulnerability with a CVSS score of 7.5 (HIGH). seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. In versions 0.2.0 through 1.4.0, overriding RegExp serialization with extremely large pat...
How severe is CVE-2026-23956?
CVE-2026-23956 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-23956?
Check the references section above for vendor advisories and patch information. Affected products include: Lxsmnsyc Seroval.