{"id":"GHSA-hx9m-jf43-8ffr","summary":"seroval affected by Denial of Service via RegExp serialization","details":"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).  \n\n**Mitigation**:  \n`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.**","aliases":["CVE-2026-23956"],"modified":"2026-05-20T01:00:15.710504617Z","published":"2026-01-21T16:57:06Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-01-21T16:57:06Z","nvd_published_at":"2026-01-22T02:15:52Z","cwe_ids":["CWE-1333"]},"references":[{"type":"WEB","url":"https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-hx9m-jf43-8ffr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23956"},{"type":"WEB","url":"https://github.com/lxsmnsyc/seroval/commit/ce9408ebc87312fcad345a73c172212f2a798060"},{"type":"PACKAGE","url":"https://github.com/lxsmnsyc/seroval"},{"type":"WEB","url":"https://github.com/lxsmnsyc/seroval/blob/v0.2.0/packages/seroval/src/index.ts#L90"}],"affected":[{"package":{"name":"seroval","ecosystem":"npm","purl":"pkg:npm/seroval"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.0"},{"fixed":"1.4.1"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 1.4.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-hx9m-jf43-8ffr/GHSA-hx9m-jf43-8ffr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}