Bug 2432846 (CVE-2025-50537) - CVE-2025-50537 eslint: eslint: Denial of Service via stack overflow when serializing objects with circular references
Summary: CVE-2025-50537 eslint: eslint: Denial of Service via stack overflow when seri...
Keywords:
Status: NEW
Alias: CVE-2025-50537
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-26 16:01 UTC by OSIDB Bzimport
Modified: 2026-01-27 14:47 UTC (History)
88 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.