CVE-2025-50537 Details
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.
A stack overflow vulnerability exists in ESLint versions prior to 9.26.0. The issue arises in the serialization module when objects with circular references are processed. This vulnerability can be exploited through the RuleTester.run() method, which is used to validate test cases and check for duplicates. During this process, the isSerializable() function is called to perform serialization checks. If an object with a circular reference is introduced, isSerializable() enters an infinite loop of recursion, leading to a stack overflow.
Users can update to ESLint version 9.26.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/lyyffee/2ee1815e5c2da82c05e9838b9bfefbbc | [email protected] | Third Party Advisory |
| https://github.com/eslint/eslint/issues/19646 | [email protected] | ExploitIssue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| openjsf eslint | < 9.26.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 4, 2026 | Initial Analysis | [email protected] |
| Jan 26, 2026 | CVE Modified | CISA-ADP |
| Jan 26, 2026 | New CVE Received | [email protected] |