CVE-2020-26256C2fo Fast-csv
Medium 6.5
Follow: this CVE · C2fo · C2fo Fast-csv We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- Yes
- Published
- Dec 8, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Fast-csv.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @fast-csv/parse |
< 4.3.6 |
4.3.6 |
npm install @fast-csv/parse@4.3.6 |
| npm | fast-csv |
< 4.3.6 |
4.3.6 |
npm install fast-csv@4.3.6 |
Per OSV / GitHub Advisories (GHSA-8cv5-p934-3hwp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| c2fo | fast-csv | < 4.3.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- lgtm.com Exploit Third Party Advisory
- www.npmjs.com
- www.npmjs.com Product Third Party Advisory