Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. seroval
  4. ›
  5. CVE-2026-23956

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

January 21, 2026 (updated January 22, 2026)

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

Mitigation: Seroval introduces disabledFeatures (a bitmask) in serialization/deserialization methods, with Feature.RegExp as a dedicated flag. Users are recommended to configure disabledFeatures to disable RegExp serialization entirely.

References

  • github.com/advisories/GHSA-hx9m-jf43-8ffr
  • github.com/lxsmnsyc/seroval
  • github.com/lxsmnsyc/seroval/commit/ce9408ebc87312fcad345a73c172212f2a798060
  • github.com/lxsmnsyc/seroval/security/advisories/GHSA-hx9m-jf43-8ffr
  • nvd.nist.gov/vuln/detail/CVE-2026-23956

Code Behaviors & Features

Detect and mitigate CVE-2026-23956 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.1

Fixed versions

  • 1.4.1

Solution

Upgrade to version 1.4.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/seroval/CVE-2026-23956.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:45 +0000.