Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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