PT-2026-4771 · Eslint · Eslint
Published
2025-01-01
·
Updated
2026-02-04
·
CVE-2025-50537
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
eslint versions prior to 9.26.0
Description
A stack overflow issue exists in eslint when serializing objects containing circular references within the
eslint/lib/shared/serialization.js file. The issue is triggered through the RuleTester.run() method, which is used to validate test cases and identify duplicates. The checkDuplicateTestCase() function calls isSerializable(), which enters infinite recursion when handling circular reference objects, leading to a stack overflow.Recommendations
Update to version 9.26.0 or later.
Exploit
Fix
Uncontrolled Recursion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Eslint