Quadratic-time parsing denial of service in PapaParse
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-407.
Summary
PapaParse before 5.7.1 contains an inefficient algorithmic complexity flaw (CWE-407) in Papa.parse(). Remote unauthenticated attackers can cause denial of service by submitting a single-column quoted CSV input with no delimiters, which makes the parser rescan the buffer for each row so CPU use grows quadratically with input size. The work can block the Node.js event loop or freeze a browser tab.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
PapaParse before 5.7.1 contains an inefficient algorithmic complexity vulnerability that allows remote unauthenticated attackers to cause denial of service by submitting delimiter-free quoted CSV input to Papa.parse(). Attackers can supply a single-column quoted CSV with no delimiters, triggering repeated full-buffer indexOf scans per row that grow quadratically with input size, exhausting CPU and blocking the Node.js event loop or freezing a browser tab.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade PapaParse to version 5.7.1 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA PapaParse (mholt) Fixed in 5.7.1
Timeline
- 2026-11-12 Threatist record created from CVE-2026-127056
- 2026-11-12 Alias added: GHSA-2m3w-6mh6-8j3w
- 2026-11-13 CISA SSVC decision points changed
References
More mholt vulnerabilities
- TI-2024-00368 Mholt/archiver: path traversal vulnerability CVSS 3.1HIGH 7.8
- TI-2020-18842 mholt PapaParse papaparse.js redos CVSS 3.1HIGH 7.5
Sources
- CVE-2026-127056 · CVE Program
- CVE-2026-127056 · NVD
- FIRST EPSS
- GHSA-2m3w-6mh6-8j3w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences