CVE-2026-23956 seroval affected by Denial of Service via RegExp serialization
HighCVSS 7.5
EPSS 0.53%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| lxsmnsyc seroval | < 1.4.1; = >= 0.2.0, < 1.4.1 | 1.4.1 | Fixed |
| npm seroval(npm) | >= 0.2.0, < 1.4.1; >= 0.2.0, <= 1.4.0 | 1.4.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lxsmnsyc seroval | = >= 0.2.0, < 1.4.1 | No fix listed |
| npm seroval(npm) | >= 0.2.0, <= 1.4.0 | No fix listed |
| lxsmnsyc seroval | < 1.4.1 | 1.4.1 |
| npm seroval(npm) | >= 0.2.0, < 1.4.1 | 1.4.1 |
References
- https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-hx9m-jf43-8ffr mitigation vendor-advisory
- https://github.com/lxsmnsyc/seroval/commit/ce9408ebc87312fcad345a73c172212f2a798060 patch
- https://github.com/lxsmnsyc/seroval/blob/v0.2.0/packages/seroval/src/index.ts#L90
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2431917 issue-tracking
- www.cve.org
- github.com product