CVE-2020-26256
MEDIUM 6.5CVSS 3.1Denial of service in fast-csv
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.
- Published
- 8 Dec 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-8cv5-p934-3hwp
- Sources
- NVDJSONOSV GHSA-8cv5-p934-3hwpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | c2fo | fast-csvcpe:2.3:a:c2fo:fast-csv:*:*:*:*:*:node.js:*:* |
< 4.3.6 | 4.3.6 |
| OSV | npm | fast-csv | < 4.3.6 | 4.3.6 |
| OSV | npm | @fast-csv/parse | < 4.3.6 | 4.3.6 |
References
- https://github.com/C2FO/fast-csv/commit/4bbd39f26a8cd7382151ab4f5fb102234b2f829e · Patch, Third Party Advisory, WEB
- https://github.com/C2FO/fast-csv/issues/540 · Third Party Advisory, WEB
- https://github.com/C2FO/fast-csv/security/advisories/GHSA-8cv5-p934-3hwp · Third Party Advisory, WEB
- https://lgtm.com/query/8609731774537641779/ · Exploit, Third Party Advisory, WEB
- https://www.npmjs.com/package/%40fast-csv/parse
- https://www.npmjs.com/package/fast-csv · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-26256 · ADVISORY
- https://github.com/C2FO/fast-csv · PACKAGE
- https://www.npmjs.com/advisories/1587 · WEB
- https://www.npmjs.com/advisories/1588 · WEB
- https://www.npmjs.com/package/@fast-csv/parse · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 8 Dec 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Dec 2020)