Bug 2432846 (CVE-2025-50537)

Summary: CVE-2025-50537 eslint: eslint: Denial of Service via stack overflow when serializing objects with circular references
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aazores, abuckta, alcohan, aschwart, asoldano, ataylor, bbaranow, bbrownin, bdettelb, bmaxwell, boliveir, brian.stansberry, bsmejkal, caswilli, chfoley, cmah, darran.lofthouse, dbruscin, dhanak, dkuc, doconnor, dosoudil, drosa, eaguilar, ebaron, eric.wittmann, gmalinko, gotiwari, gparvin, ibek, istudens, ivassile, iweiss, jachapma, janstey, jbalunas, jcantril, jgrulich, jhorak, jkoehler, jolong, jrokos, jscholz, kaycoth, kvanderr, kverlaen, lchilton, lphiri, mnovotny, mosmerov, mposolda, msvehla, mvyas, mwringe, nipatil, nwallace, orabin, pahickey, pantinor, pberan, pbizzarr, pdelbell, pesilva, pjindal, pmackay, progier, rhaigner, rkubis, rmartinc, rojacob, rstancel, rstepani, sausingh, sdawley, sfeifer, smaestri, snegrini, spichugi, ssidhaye, ssilvert, sthorger, swoodman, tbordaz, tom.jenkinson, tpopela, vashirov, vmuzikar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in eslint. An attacker can exploit this vulnerability by providing an object with circular references to the RuleTester.run() method. This action causes an infinite recursion within the isSerializable() function, leading to a stack overflow. The primary consequence of this flaw is a Denial of Service (DoS), making the application unavailable.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-01-26 16:01:33 UTC
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.