junegunn/fzf · Security

fzf vulnerable to denial of service through quadratic HTTP request-body accumulation

GHSA ID
GHSA-mvmf-94v6-879g
CVE ID
CVE-2026-53433
Severity
medium
Published
Updated
CVSS v4
5.7 · CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Description

fzf is vulnerable to a Denial of Service (DoS) due to inefficient HTTP body processing in the --listen mode due to inefficient HTTP body processing using repeated string concatenation, resulting in quadratic time complexity (O(n²)). A crafted POST request with many small segments can trigger excessive CPU usage during request handling.This allows a single malicious request to monopolize the single‑threaded HTTP server, blocking all other clients and resulting in denial of service.

This issue was fixed in version 0.73.1.

CWEs

References