CVE-2025-50537: eslint · Stack Overflow
Affects eslintSource CVE Database V5
Not known to be exploited · CVSS 5.5 Medium : upgrade to 9.26.0 when convenient.
Data as of 26 Oct 2026, 12:55 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 9.26.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 26 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade eslint to 9.26.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmeslintpkg:npm/eslintOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-50537, European organizations should: 1) Upgrade eslint to version 9.26.0 or later, where the serialization issue has been addressed. 2) Audit existing test cases used with RuleTester to identify and refactor or remove any that include circular references, preventing infinite recursion during serialization. 3) Integrate static analysis or linting checks in CI/CD pipelines to detect usage of vulnerable eslint versions and prevent deployment of problematic test cases. 4) Educate development teams about the risks of circular references in test objects and encourage best practices in test case design. 6) If upgrading immediately is not feasible, consider isolating eslint runs in containerized or sandboxed environments to limit the impact of potential crashes. 7) Implement robust error handling in build scripts to gracefully manage eslint failures and avoid cascading pipeline disruptions.
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.