Stack overflow vulnerability in eslint before 9.26.0 when serializing objects with circular references in…
Historical advisory recorded 25 Oct 2026 02:25:01 UTC. Read the latest advisory.
nvd · CVE-2025-50537
PublishedStack 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2025-50537
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-674
Original publisher date fields
published: 2026-01-26T16:15:58.330
lastModified: 2026-06-17T09:35:09.353
1 source CPE criteria · context only
- cpe:2.3:a:openjsf:eslint:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON