# CVE-2020-26256: Denial of service in fast-csv

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.7
- **CVSS:** 5.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.60% (percentile 76, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** GHSA-8cv5-p934-3hwp
- **Published:** 2020-12-08T21:42:53.000Z
- **Modified:** 2026-09-10T03:49:00.474Z

## Who should check

- Projects that depend on npm package fast-csv (\< 4.3.6)
- Projects that depend on npm package @fast-csv/parse (\< 4.3.6)
- Anyone running C2FO fast-csv \< 4.3.6

## Description

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.

## Affected and fixed versions

- npm `fast-csv`: affected \< 4.3.6; fixed 4.3.6 (osv)
- npm `@fast-csv/parse`: affected \< 4.3.6; fixed 4.3.6 (osv)
- C2FO fast-csv: \< 4.3.6 (cvelist)

## Mitigation

- Upgrade fast-csv to 4.3.6 or later.
- Upgrade @fast-csv/parse to 4.3.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-26256. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-26256.md
Affected: fast-csv < 4.3.6; @fast-csv/parse < 4.3.6
Fixed in: 4.3.6

Steps:
1. Search this machine and project for fast-csv (npm), @fast-csv/parse (npm), C2FO fast-csv: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-26256 being exploited?

There is no confirmed exploitation: CVE-2020-26256 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.60% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-26256?

Medium: CVSS 5.7 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2020-26256?

fast-csv \< 4.3.6; @fast-csv/parse \< 4.3.6.

### Is there a fix for CVE-2020-26256?

Yes. Fixed in 4.3.6. Upgrade fast-csv to 4.3.6 or later. Upgrade @fast-csv/parse to 4.3.6 or later.

### How do I check if I'm affected by CVE-2020-26256?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/C2FO/fast-csv/security/advisories/GHSA-8cv5-p934-3hwp>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-26256>
- patch: <https://github.com/C2FO/fast-csv/commit/4bbd39f26a8cd7382151ab4f5fb102234b2f829e>
- exploit: <https://lgtm.com/query/8609731774537641779/>
- other: <https://github.com/C2FO/fast-csv/issues/540>
- other: <https://www.npmjs.com/package/%40fast-csv/parse>
- other: <https://www.npmjs.com/package/fast-csv>
- other: <https://github.com/C2FO/fast-csv>
- other: <https://lgtm.com/query/8609731774537641779>
- other: <https://www.npmjs.com/advisories/1587>
- other: <https://www.npmjs.com/advisories/1588>
- other: <https://www.npmjs.com/package/@fast-csv/parse>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-26256>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8cv5-p934-3hwp> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-26256> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-26256>
