Every CVE Search/ Get API key

CVE-2014-3856

The funced function in fish (aka fish-shell) 1.23.0 before 2.1.1 does not properly create...

7.0 HighFix available

The funced function in fish (aka fish-shell) 1.23.0 before 2.1.1 does not properly create temporary files, which allows local users to gain privileges via a temporary file with a predictable name.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.29%Down 0.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.0

The funced function in fish (aka fish-shell) 1.23.0 before 2.1.1 does not properly create temporary files, which allows local users to gain privileges via a temporary file with a predictable name.

Record
CVE-2014-3856
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.4 MediumAV:L/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-362
Updated
2026-11-02
CVE List No score

The funced function in fish (aka fish-shell) 1.23.0 before 2.1.1 does not properly create temporary files, which allows local users to gain privileges via a temporary file with a predictable name.

Record
CVE-2014-3856
Updated
2026-11-02
EUVDEUVD-2014-3793 No score

The funced function in fish (aka fish-shell) 1.23.0 before 2.1.1 does not properly create temporary files, which allows local users to gain privileges via a temporary file with a predictable name.

Record
EUVD-2014-3793
Updated
2026-11-03
GitHub AdvisoriesGHSA-mh78-c455-hh2q No score

The funced function in fish (aka fish-shell) 1.23.0 before 2.1.1 does not properly create...

The funced function in fish (aka fish-shell) 1.23.0 before 2.1.1 does not properly create temporary files, which allows local users to gain privileges via a temporary file with a predictable name.

Record
GHSA-mh78-c455-hh2q
Updated
2026-11-02
OSV 7.0

The funced function in fish (aka fish-shell) 1.23.0 before 2.1.1 does not properly create temporary files, which allows local users to gain privileges via a temporary file with a predictable name.

Record
CVE-2014-3856
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2014-3856 7.0

The funced function in fish (aka fish-shell) 1.23.0 before 2.1.1 does not properly create temporary files, which allows local users to gain privileges via a temporary file with a predictable name.

Record
DEBIAN-CVE-2014-3856
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVMGASA-2014-0404 No score

Updated fish package fixes multiple security vulnerabilities

Updated fish packages fix security vulnerability:

fish, from at least version 1.16.0 to version 2.1.0 (inclusive), does not check the credentials of processes communicating over the fishd universal variable server UNIX domain socket. This allows a local attacker to elevate their privileges to those of a target user running fish, including root (CVE-2014-2905).

fish, from at least version 1.16.0 to version 2.1.0 (inclusive), creates temporary files in an insecure manner.

Versions 1.23.0 to 2.1.0 (inclusive) execute code via funced from these temporary files, allowing privilege escalation to those of any user running fish, including root (CVE-2014-3856).

Additionally, from at least version 1.16.0 to version 2.1.0 (inclusive), fish will read data using the psub function from these temporary files, meaning that the input of commands used with the psub function is under the control of the attacker (CVE-2014-2906).

fish, from version 2.0.0 to version 2.1.0 (inclusive), fails to restrict connections to the Web-based configuration service (fish_config). This allows remote attackers to execute arbitrary code in the context of the user running fish_config (CVE-2014-2914).

The service is generally only running for short periods of time. The use of the fish_config tool is optional as other interfaces to fish configuration are available.

The fish package has been updated to version 2.1.1 to fix these issues.

Record
MGASA-2014-0404
Updated
2026-11-02
OSVopenSUSE-SU-2019:2177-1 No score

Security update for fish3

This update supplies the 'fish3' package, complementary to the 'fish' package.

Record
openSUSE-SU-2019:2177-1
Updated
2026-11-02
OSVopenSUSE-SU-2019:2188-1 No score

Security update for fish3

This update includes fish3 into the openSUSE Leap 15.1 distribution.

Record
openSUSE-SU-2019:2188-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10348-1 No score

fish-2.4.0-1.1 on GA media

These are all security issues fixed in the fish-2.4.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10348-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
fish
Debian:12
before 2.1.1-1
2.1.1-1
fish
Debian:13
before 2.1.1-1
2.1.1-1
fish
Debian:14
before 2.1.1-1
2.1.1-1
fish
Mageia:4
before 2.1.1-1.mga4
2.1.1-1.mga4
fish3
openSUSE:Leap 15.0
before 3.0.0-lp150.3.1
3.0.0-lp150.3.1
fish3
openSUSE:Leap 15.1
before 3.0.0-lp151.2.1
3.0.0-lp151.2.1
fish
openSUSE:Tumbleweed
before 2.4.0-1.1
2.4.0-1.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2014-3856 is a high vulnerability (CVSS 7.0) in Fishshell Fish, published October 9, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 21st percentile. Fixed in fish 2.1.1-1.

References

Show 13 moreShow less
MoveEnter Open