CVE-2026-121716
Description
fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value) in github.com/junegunn/fzf
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-121716 NameCVE-2026-121716 Descriptionfzf is a command-line fuzzy finder. Prior to 0.74.5, bin/fzf-tmux validates separately supplied layout sizes but does not validate attached -l and -u layout values before Bash arithmetic expansion, allowing command substitution in a crafted operand to execute as the invoking user during option parsing. The same validation failure lets space-bearing…
CVE-2026-121716
| Name | CVE-2026-121716 |
| Description | fzf is a command-line fuzzy finder. Prior to 0.74.5, bin/fzf-tmux validates separately supplied layout sizes but does not validate attached -l and -u layout values before Bash arithmetic expansion, allowing command substitution in a crafted operand to execute as the invoking user during option parsing. The same validation failure lets space-bearing popup geometry options -x, -y, -w, -h, and -p reach an unquoted tmux popup option string and inject additional tmux flags. Exploitation requires less-trusted project configuration, a wrapper, or a plugin to supply the poisoned value and requires the victim to invoke fzf-tmux; normal values are usually trusted, and the script has been superseded by built-in tmux options. This issue is fixed in version 0.74.5. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| fzf (PTS) | bookworm | 0.38.0-1 | vulnerable |
| trixie | 0.60.3-1 | vulnerable | |
| forky, sid | 0.74.5-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| fzf | source | (unstable) | 0.74.5-1 |
Notes
[trixie] - fzf <no-dsa> (Minor issue)
[bookworm] - fzf <postponed> (Minor issue)
https://github.com/junegunn/fzf/security/advisories/GHSA-w6x2-f5m4-xw82
Fixed by: https://github.com/junegunn/fzf/commit/f126ff29549e0983f571fbc32dddcfbede251aa7 (v0.74.5)
Apply commands
[trixie] - fzf <no-dsa> (Minor issue)[bookworm] - fzf <postponed> (Minor issue)https://github.com/junegunn/fzf/security/advisories/GHSA-w6x2-f5m4-xw82Fixed by: https://github.com/junegunn/fzf/commit/f126ff29549e0983f571fbc32dddcfbede251aa7 (v0.74.5)
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | fzf |
Affected | — |
| sid | fzf |
Fixed | 0.74.5-1 |
| forky | fzf |
Fixed | 0.74.5-1 |
| bookworm | fzf |
Affected | — |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/junegunn/fzf | <= 0.74.4 | 0.74.5 |
| Go | github.com/junegunn/fzf | <0.74.5 | 0.74.5 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| junegunn | fzf | < 0.74.5 | |
References
- https://github.com/junegunn/fzf/commit/f126ff29549e0983f571fbc32dddcfbede251aa7
- https://github.com/junegunn/fzf/releases/tag/v0.74.5
- https://github.com/junegunn/fzf/security/advisories/GHSA-w6x2-f5m4-xw82
- https://security-tracker.debian.org/tracker/CVE-2026-121716
- https://nvd.nist.gov/vuln/detail/CVE-2026-121716
- https://github.com/advisories/GHSA-w6x2-f5m4-xw82
- https://github.com/junegunn/fzf
CWEs
CWE-78
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.