Inefficient Algorithmic Complexity Affecting papaparse package, versions <5.7.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.68% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-PAPAPARSE-22566253
  • published16 Nov 2026
  • disclosed12 Nov 2026
  • creditMuhammadyusuf Dilmurodov

Introduced: 12 Nov 2026

NewCVE-2026-127056  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade papaparse to version 5.7.1 or higher.

Overview

papaparse is a fast in-browser CSV (or delimited text) parser for JavaScript.

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via Papa.parse() when processing delimiter-free quoted CSV input. An attacker can supply a single-column quoted CSV with no delimiters, triggering repeated full-buffer indexOf scans for the delimiter and newline on every row. Because these scans restart from the beginning of the remaining buffer rather than advancing past already-examined positions, the work grows quadratically with input size, exhausting CPU and blocking the Node.js event loop or freezing a browser tab.

CVSS Base Scores

version 4.0
version 3.1