{"id":"GHSA-p5wg-g6qr-c7cg","revision":"946baa1338344eabb5b5a8a67c4b65ff","records":[{"revision":"946baa1338344eabb5b5a8a67c4b65ff","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-p5wg-g6qr-c7cg","aliases":["CVE-2025-50537"],"title":"Withdrawn Advisory: eslint has a Stack Overflow when serializing objects with circular references","description":"## Withdrawn Advisory\nThis advisory has been withdrawn because RuleTester is used for testing rules during development and results in a error rather than crashing the application.\n\n## Original Description\n\nThere 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.","state":2,"publishedAt":"2026-01-26T18:31:29+00:00","modifiedAt":"2026-09-10T03:50:33.50683+00:00","affected":[{"ecosystem":"npm","name":"eslint","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"9.26.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2025-50537","https://github.com/eslint/eslint/issues/19646","https://github.com/eslint/eslint/commit/d683aebc8e0792e4f80bd1488c705c90f22c317e","https://gist.github.com/lyyffee/2ee1815e5c2da82c05e9838b9bfefbbc","https://github.com/eslint/eslint"],"sourceUrl":"https://github.com/advisories/GHSA-p5wg-g6qr-c7cg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-p5wg-g6qr-c7cg","identifiers":["GHSA-p5wg-g6qr-c7cg","CVE-2025-50537"]},"retained":false,"historicalAffected":[]}],"coverage":[]}