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.
| Package | Affected versions | Patched versions |
|---|---|---|
eslintnpm | < 9.26.0 | 9.26.0 |
Affected products
16- osv-coords15 versionspkg:apk/chainguard/arangodb-3.11pkg:apk/chainguard/argo-workflows-ui-3.6pkg:apk/chainguard/argo-workflows-ui-3.7pkg:apk/chainguard/langfuse-2-workerpkg:apk/chainguard/langfuse-fips-2-workerpkg:apk/chainguard/prismpkg:apk/chainguard/vitess-21pkg:apk/chainguard/vitess-22pkg:apk/chainguard/vitess-23pkg:apk/wolfi/argo-workflows-ui-3.7pkg:apk/wolfi/prismpkg:apk/wolfi/vitess-21pkg:apk/wolfi/vitess-22pkg:apk/wolfi/vitess-23pkg:npm/eslint
< 3.11.14.2-r3+ 14 more
- (no CPE)range: < 3.11.14.2-r3
- (no CPE)range: < 3.6.18-r0
- (no CPE)range: < 3.7.9-r0
- (no CPE)range: < 2.95.12-r7
- (no CPE)range: < 2.95.12-r7
- (no CPE)range: < 5.14.3-r5
- (no CPE)range: < 21.0.6-r3
- (no CPE)range: < 22.0.2-r4
- (no CPE)range: < 23.0.0-r5
- (no CPE)range: < 3.7.9-r0
- (no CPE)range: < 5.14.3-r5
- (no CPE)range: < 21.0.6-r3
- (no CPE)range: < 22.0.2-r4
- (no CPE)range: < 23.0.0-r5
- (no CPE)range: < 9.26.0
Patches
Vulnerability mechanics
References
5News mentions
0No linked articles in our index yet.