CVE-2025-50537: Stack overflow vulnerability in eslint before 9.26.0 when serializing objects with circular references in esli
CVE-2025-50537 is a medium-severity flaw (CVSS 5.5) affecting eslint. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 i
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 90%) |
| CISA exploited list | No |
| Weakness | CWE-674 |
| Published | 2026-01-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-50537?
eslint: upgrade to 9.26.0. Exact commands for each OS are on this page.
Is CVE-2025-50537 being exploited?
CVE-2025-50537 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-50537 affect?
CVE-2025-50537 affects eslint. Severity is medium (CVSS 5.5). 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 fo
How urgent is CVE-2025-50537?
Priority 27/100. Public exploit reference