CVE-2025-50537
Descripción
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.
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
Referencias y parches
- https://github.com/eslint/eslint/issues/19646 ExploitIssue TrackingThird Party Advisory
- https://gist.github.com/lyyffee/2ee1815e5c2da82c05e9838b9bfefbbc Third Party Advisory
Coincidencias CPE (NVD) (1)
cpe:2.3:a:openjsf:eslint:*:*:*:*:*:node.js:*:*< 9.26.0