Stack Overflow Vulnerability in ESLint Affects Code Analysis Tool
CVE-2025-50537

5.5MEDIUM

Key Information:

Vendor

ESLint

Status
Vendor
CVE Published:
26 January 2026

What is CVE-2025-50537?

A stack overflow vulnerability occurs in ESLint prior to version 9.26.0, specifically during the serialization of objects containing circular references. The vulnerability arises through the RuleTester.run() method that is responsible for validating test cases. While checking for duplicates, the internal function checkDuplicateTestCase() invokes the isSerializable() function. When this function encounters an object with circular references, it triggers infinite recursion, leading to a stack overflow. This flaw can be exploited by malicious actors to disrupt the functionality of the code analysis tool, posing significant risks to applications reliant on ESLint for code quality and security.

References

CVSS V3.1

Score:
5.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.