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

No configuration.

History

No history.

Information

Published : 2026-01-26 16:15

Updated : 2026-01-27 14:59


NVD link : CVE-2025-50537

Mitre link : CVE-2025-50537

CVE.ORG link : CVE-2025-50537


JSON object : View

Products Affected

No product.

CWE
CWE-674

Uncontrolled Recursion