VYPR
Moderate severityOSV Advisory· Published Jan 26, 2026· Updated Jan 26, 2026

CVE-2025-50537

CVE-2025-50537

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
eslintnpm
< 9.26.09.26.0

Affected products

16

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.