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.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.2%top 90.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12eslintno fix listedDEBIAN-CVE-2025-50537
Debian:13eslintno fix listedDEBIAN-CVE-2025-50537
Debian:14eslintno fix listedDEBIAN-CVE-2025-50537
Ubuntu:22.04:LTSeslintno fix listedUBUNTU-CVE-2025-50537
Ubuntu:24.04:LTSeslintno fix listedUBUNTU-CVE-2025-50537
Ubuntu:25.10eslintno fix listedUBUNTU-CVE-2025-50537
Ubuntu:26.04:LTSeslintno fix listedUBUNTU-CVE-2025-50537
Ubuntu:26.10eslintno fix listedUBUNTU-CVE-2025-50537
npmeslint9.26.0GHSA-p5wg-g6qr-c7cg

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-674 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References