CVE-2026-23956
HIGH 7.5CVSS 3.1seroval affected by Denial of Service via RegExp serialization
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.
- Published
- 22 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-hx9m-jf43-8ffr
- Sources
- NVDJSONOSV GHSA-hx9m-jf43-8ffrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lxsmnsyc | serovalcpe:2.3:a:lxsmnsyc:seroval:*:*:*:*:*:node.js:*:* |
< 1.4.1 | 1.4.1 |
| OSV | npm | seroval | >= 0.2.0, < 1.4.1 | 1.4.1 |
References
- https://github.com/lxsmnsyc/seroval/blob/v0.2.0/packages/seroval/src/index.ts#L90 · WEB
- https://github.com/lxsmnsyc/seroval/commit/ce9408ebc87312fcad345a73c172212f2a798060 · Patch, WEB
- https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-hx9m-jf43-8ffr · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-23956 · ADVISORY
- https://github.com/lxsmnsyc/seroval · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 22 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jan 2026)