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

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:

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

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

Link: CVE-2025-50537

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-01-26T17:16:10.130

Link: CVE-2025-50537

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.