Description
zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user.
References (7)
Core 7
Core References
Patch x_refsource_confirm
https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3764-1/
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201805-10
Third Party Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1932
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=1563395
Third Party Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3073
Mailing List mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html
Scores
CVSS v3
7.8
EPSS
0.0007
EPSS Percentile
20.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-120
CWE-787
Status
published
Products (10)
canonical/ubuntu_linux
14.04
canonical/ubuntu_linux
16.04
canonical/ubuntu_linux
18.04
redhat/enterprise_linux_desktop
6.0
redhat/enterprise_linux_desktop
7.0
redhat/enterprise_linux_server
6.0
redhat/enterprise_linux_server
7.0
redhat/enterprise_linux_workstation
6.0
redhat/enterprise_linux_workstation
7.0
zsh/zsh
< 5.4.2
Published
Apr 11, 2018
Tracked Since
Feb 18, 2026