# CVE-2026-23956: seroval affected by Denial of Service via RegExp serialization

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-01-21T16:57:06.000Z
- Modified: 2026-06-17T10:22:20.970Z
- Also known as: GHSA-hx9m-jf43-8ffr
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- lxsmnsyc seroval: >= 0.2.0, < 1.4.1; before 1.4.1
- seroval (npm): from 0.2.0 before 1.4.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-hx9m-jf43-8ffr> (mitigation, vendor-advisory, web)
- <https://github.com/lxsmnsyc/seroval/commit/ce9408ebc87312fcad345a73c172212f2a798060> (patch, web)
- <https://github.com/lxsmnsyc/seroval/blob/v0.2.0/packages/seroval/src/index.ts#L90> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-23956> (advisory)
- <https://github.com/lxsmnsyc/seroval> (package)

## Sources

- CVE List: [CVE-2026-23956](https://www.cve.org/CVERecord?id=CVE-2026-23956), CVE Terms of Use, modified 2026-05-20
- GitHub Advisory Database: [GHSA-hx9m-jf43-8ffr](https://github.com/advisories/GHSA-hx9m-jf43-8ffr), CC-BY-4.0, modified 2026-05-20
- NVD: [CVE-2026-23956](https://nvd.nist.gov/vuln/detail/CVE-2026-23956), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23956 · Whole record: https://cve.day/CVE-2026-23956.json · Rebuilt by cve.day 2026-11-25T22:59:13.038Z
