{"id":"CVE-2020-26256","aliases":["CVE-2020-26256","GHSA-8cv5-p934-3hwp"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of service in fast-csv","summary":"Fast-csv is an npm package for parsing and formatting CSVs or any other delimited value file in node. In fast-cvs before version 4.3.6 there is a possible ReDoS vulnerability (Regular Expression Denial of Service) when using ignoreEmpty option when parsing. This has been patched in `v4.3.6` You will only be affected by this if you use the `ignoreEmpty` parsing option. If you do use this option it is recommended that you upgrade to the latest version `v4.3.6` This vulnerability was found using a CodeQL query which identified `EMPTY_ROW_REGEXP` regular expression as vulnerable.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Fast-csv is an npm package for parsing and formatting CSVs or any other delimited value file in node. In fast-cvs before version 4.3.6 there is a possible ReDoS vulnerability (Regular Expression Denial of Service) when using ignoreEmpty option when parsing. This has been patched in `v4.3.6` You will only be affected by this if you use the `ignoreEmpty` parsing option. If you do use this option it is recommended that you upgrade to the latest version `v4.3.6` This vulnerability was found using a CodeQL query which identified `EMPTY_ROW_REGEXP` regular expression as vulnerable.","source":"cvelist"},{"lang":"en","text":"### Impact\nPossible ReDoS (Regular Expression Denial of Service) when using `ignoreEmpty` option when parsing.\n\n### Patches\nThis has been patched in `v4.3.6`\n\n### Workarounds\nYou will only be affected by this if you use the `ignoreEmpty` parsing option. If you do use this option it is recommended that you upgrade to the latest version `v4.3.6`\n\n### References\n\nThis vulnerability was found using a [CodeQL](https://securitylab.github.com/tools/codeql) query which identified `EMPTY_ROW_REGEXP` regular expression as vulnerable.\n[Link to query run](https://lgtm.com/query/8609731774537641779/). \n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [fast-csv](https://github.com/C2FO/fast-csv)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Fast-csv es un paquete npm para analizar y formatear CSV o cualquier otro archivo de valor delimitado en node.&#xa0;En fast-cvs anterior a versión 4.3.6, se presenta una posible vulnerabilidad ReDoS (Denegación de servicio de expresión regular) cuando se usa la opción ignoreEmpty al analizar.&#xa0;Esto ha sido parcheado en versión \"v4.3.6\" Solo se verá afectado por esto si utiliza la opción de análisis \"ignoreEmpty\".&#xa0;Si usa esta opción, se recomienda que actualice a la última versión \"v4.3.6\". Esta vulnerabilidad se encontró usando una consulta CodeQL que identificó la expresión regular \"EMPTY_ROW_REGEXP\" como vulnerable","source":"nvd"}],"published":"2020-12-08T21:42:53.000Z","modified":"2026-09-10T03:49:00.474Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:N/A:P","score":3.5,"rating":"LOW"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"< 4.3.6","status":"affected"}],"vendor":"C2FO","product":"fast-csv","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.3.6"}],"ecosystem":"npm","package":"fast-csv","purl":"pkg:npm/fast-csv","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.3.6"}],"ecosystem":"npm","package":"@fast-csv/parse","purl":"pkg:npm/%40fast-csv/parse","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.3.6"}],"vendor":"c2fo","product":"fast-csv","cpe":"cpe:2.3:a:c2fo:fast-csv:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/C2FO/fast-csv/security/advisories/GHSA-8cv5-p934-3hwp","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lgtm.com/query/8609731774537641779/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/C2FO/fast-csv/issues/540","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/C2FO/fast-csv/commit/4bbd39f26a8cd7382151ab4f5fb102234b2f829e","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.npmjs.com/package/%40fast-csv/parse","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.npmjs.com/package/fast-csv","tags":["product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26256","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/C2FO/fast-csv","tags":["package"],"sources":["ghsa"]},{"url":"https://lgtm.com/query/8609731774537641779","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1587","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1588","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/@fast-csv/parse","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-26256","url":"https://www.cve.org/CVERecord?id=CVE-2020-26256","licence":"CVE Terms of Use","modified":"2024-08-04T15:56:03.099Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8cv5-p934-3hwp","url":"https://github.com/advisories/GHSA-8cv5-p934-3hwp","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:00.474Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-26256","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26256","licence":"Public domain","modified":"2026-06-17T03:07:56.073Z"}],"updatedAt":"2026-11-25T22:57:56.089Z","epss":{"score":0.01602,"percentile":0.76538,"date":"2026-12-01T12:00:22.000Z"}}