Skip to content

Commit 6a44d3d

Browse files
1 parent 99b1c67 commit 6a44d3d

2 files changed

Lines changed: 69 additions & 40 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-p5wg-g6qr-c7cg",
4+
"modified": "2026-01-29T14:58:17Z",
5+
"published": "2026-01-26T18:31:29Z",
6+
"aliases": [
7+
"CVE-2025-50537"
8+
],
9+
"summary": "eslint has a Stack Overflow when serializing objects with circular references",
10+
"details": "There is a 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.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "eslint"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "9.26.0"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "ADVISORY",
41+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-50537"
42+
},
43+
{
44+
"type": "WEB",
45+
"url": "https://github.com/eslint/eslint/issues/19646"
46+
},
47+
{
48+
"type": "WEB",
49+
"url": "https://github.com/eslint/eslint/commit/d683aebc8e0792e4f80bd1488c705c90f22c317e"
50+
},
51+
{
52+
"type": "WEB",
53+
"url": "https://gist.github.com/lyyffee/2ee1815e5c2da82c05e9838b9bfefbbc"
54+
},
55+
{
56+
"type": "PACKAGE",
57+
"url": "https://github.com/eslint/eslint"
58+
}
59+
],
60+
"database_specific": {
61+
"cwe_ids": [
62+
"CWE-674"
63+
],
64+
"severity": "MODERATE",
65+
"github_reviewed": true,
66+
"github_reviewed_at": "2026-01-29T14:58:17Z",
67+
"nvd_published_at": "2026-01-26T16:15:58Z"
68+
}
69+
}

advisories/unreviewed/2026/01/GHSA-p5wg-g6qr-c7cg/GHSA-p5wg-g6qr-c7cg.json

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)