Description
fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. fish shell uses certain Unicode non-characters internally for marking wildcards and expansions. It will incorrectly allow these markers to be read on command substitution output, rather than transforming them into a safe internal representation. While this may cause unexpected behavior with direct input (for example, echo \UFDD2HOME has the same output as echo $HOME), this may become a minor security problem if the output is being fed from an external program into a command substitution where this output may not be expected. This design flaw was introduced in very early versions of fish, predating the version control system, and is thought to be present in every version of fish released in the last 15 years or more, although with different characters. Code execution does not appear to be possible, but denial of service (through large brace expansion) or information disclosure (such as variable expansion) is potentially possible under certain circumstances. fish shell 3.6.2 has been released to correct this issue. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| fish-shell | fish-shell | < 3.6.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fish | 3.6.4-1 | — |
| Debian 13 | fish | 3.6.4-1 | — |
| Debian 12 | fish | 3.6.0-3.1+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | fish | No fix yet | — |
| Ubuntu 26.04 LTS | fish | No fix yet | — |
| Ubuntu 25.10 | fish | No fix yet | — |
| Ubuntu 24.04 LTS | fish | No fix yet | — |
| Ubuntu 18.04 LTS | fish | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | fish | No fix yet | — |
| Ubuntu Pro 22.04 LTS | fish | No fix yet | — |
| Ubuntu Pro 20.04 LTS | fish | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP5 | fish | 3.3.1-bp155.4.3.1 | openSUSE-SU-2023:0405-1 |
| SUSE Package Hub 15 SP4 | fish | 3.3.1-bp154.3.3.1 | openSUSE-SU-2023:0404-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | fish | 3.6.4-1.1 | openSUSE-SU-2024:13501-1 |
| openSUSE Leap 15.5 | fish | 3.3.1-bp155.4.3.1 | openSUSE-SU-2023:0405-1 |
| openSUSE Leap 15.4 | fish | 3.3.1-bp154.3.3.1 | openSUSE-SU-2023:0404-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | fish | 3.6.2-1 | — |
Advisories 3
- openSUSE-SU-2023:0405-1 Security update for fish SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2023:0404-1 Security update for fish SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13501-1 fish-3.6.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026