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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| zsh | zsh | through 5.4.2 |
References
- https://access.redhat.com/errata/RHSA-2018:1932Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3073Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1563395Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html
- https://security.gentoo.org/glsa/201805-10Third Party Advisory
- https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/Patch
- https://usn.ubuntu.com/3764-1/Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1932Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3073Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1563395Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html
- https://security.gentoo.org/glsa/201805-10Third Party Advisory
- https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/Patch
- https://usn.ubuntu.com/3764-1/Third Party Advisory
Timeline
- Published
- Apr 11, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified