Vulnerability · Published Jan 26, 2026 · Assigned by mitre
CVE-2025-50537
Medium 5.5
In plain English
A medium-severity security flaw in the eslint package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | eslint | no fix listed | DEBIAN-CVE-2025-50537 |
| Debian:13 | eslint | no fix listed | DEBIAN-CVE-2025-50537 |
| Debian:14 | eslint | no fix listed | DEBIAN-CVE-2025-50537 |
| Ubuntu:22.04:LTS | eslint | no fix listed | UBUNTU-CVE-2025-50537 |
| Ubuntu:24.04:LTS | eslint | no fix listed | UBUNTU-CVE-2025-50537 |
| Ubuntu:25.10 | eslint | no fix listed | UBUNTU-CVE-2025-50537 |
| Ubuntu:26.04:LTS | eslint | no fix listed | UBUNTU-CVE-2025-50537 |
| Ubuntu:26.10 | eslint | no fix listed | UBUNTU-CVE-2025-50537 |
| npm | eslint | 9.26.0 | GHSA-p5wg-g6qr-c7cg |
Affected products (as reported)
Weakness: CWE-674 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H