High severity7.5OSV Advisory· Published Jan 22, 2026· Updated May 20, 2026
CVE-2026-23956
CVE-2026-23956
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
serovalnpm | >= 0.2.0, < 1.4.1 | 1.4.1 |
Affected products
3Patches
Vulnerability mechanics
References
5- github.com/lxsmnsyc/seroval/commit/ce9408ebc87312fcad345a73c172212f2a798060nvdPatchWEB
- github.com/advisories/GHSA-hx9m-jf43-8ffrghsaADVISORY
- github.com/lxsmnsyc/seroval/security/advisories/GHSA-hx9m-jf43-8ffrnvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-23956ghsaADVISORY
- github.com/lxsmnsyc/seroval/blob/v0.2.0/packages/seroval/src/index.tsnvdWEB
News mentions
0No linked articles in our index yet.