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

Wed, 28 Jan 2026 00:15:00 +0000

Type Values Removed Values Added
Title eslint: eslint: Denial of Service via stack overflow when serializing objects with circular references
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 27 Jan 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Eslint
Eslint eslint
Vendors & Products Eslint
Eslint eslint

Mon, 26 Jan 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 26 Jan 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-674
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}


Mon, 26 Jan 2026 15:45:00 +0000

Type Values Removed Values Added
Description 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

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2026-01-26T00:00:00.000Z

Updated: 2026-01-26T16:16:34.731Z

Reserved: 2025-06-16T00:00:00.000Z

Link: CVE-2025-50537

cve-icon Vulnrichment

Updated: 2026-01-26T16:15:56.018Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-01-26T16:15:58.330

Modified: 2026-01-27T14:59:34.073

Link: CVE-2025-50537

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-01-26T00:00:00Z

Links: CVE-2025-50537 - Bugzilla