CVE-2025-50537

Stack overflow vulnerability in eslint before 9.26.0 when serializing objects with circular references in eslint/lib/shared/serialization.js. The exploit is triggered via the RuleTester.run() method, which validates test cases and checks for duplicates. During validation, the internal function checkDuplicateTestCase() is called, which in turn uses the isSerializable() function for serialization checks. When a circular reference object is passed in, isSerializable() enters infinite recursion, ultimately causing a stack overflow.
References
Link Resource
https://gist.github.com/lyyffee/2ee1815e5c2da82c05e9838b9bfefbbc Third Party Advisory
https://github.com/eslint/eslint/issues/19646 Exploit Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:openjsf:eslint:*:*:*:*:*:node.js:*:*

History

04 Feb 2026, 15:11

Type Values Removed Values Added
CPE cpe:2.3:a:openjsf:eslint:*:*:*:*:*:node.js:*:*
First Time Openjsf eslint
Openjsf
References () https://gist.github.com/lyyffee/2ee1815e5c2da82c05e9838b9bfefbbc - () https://gist.github.com/lyyffee/2ee1815e5c2da82c05e9838b9bfefbbc - Third Party Advisory
References () https://github.com/eslint/eslint/issues/19646 - () https://github.com/eslint/eslint/issues/19646 - Exploit, Issue Tracking, Third Party Advisory

26 Jan 2026, 17:16

Type Values Removed Values Added
CWE CWE-674
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

26 Jan 2026, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-26 16:15

Updated : 2026-02-04 15:11


NVD link : CVE-2025-50537

Mitre link : CVE-2025-50537

CVE.ORG link : CVE-2025-50537


JSON object : View

Products Affected

openjsf

  • eslint
CWE
CWE-674

Uncontrolled Recursion