VULNERABILITY INTELLIGENCE

CVE-2025-50537

CVSS score5.5 MEDIUM
EPSS probability0.20%
CISA KEVNot currently listed
Published2026-01-26
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

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.

Weakness classification

  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-674

Primary references