5.5Medium

CVE-2025-50537

openjsf eslint Published: (9 months ago)

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 (CWE): CWE-674

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
openjsf eslint < 9.26.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:openjsf:eslint:*:*:*:*:*:node.js:*:* < 9.26.0