{"id":"CVE-2016-10714","aliases":["DEBIAN-CVE-2016-10714","DLA-1304-1","EUVD-2016-1713","GHSA-86jf-f87h-wc84","SUSE-SU-2018:1072-1","SUSE-SU-2022:14910-1","UBUNTU-CVE-2016-10714","USN-3593-1"],"status":"published","title":"In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to...","description":"In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02134,"percentile":0.82119,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-189"],"published":"2018-02-27T00:00:00Z","modified":"2026-10-24T10:30:21Z","fixes":[{"ecosystem":"Debian:12","package":"zsh","fixed_in":["5.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"zsh","fixed_in":["5.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"zsh","fixed_in":["5.3-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"zsh","fixed_in":["5.0.2-3ubuntu6.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"zsh","fixed_in":["5.1.1-1ubuntu2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.17-1+deb7u1"}]}],"versions":["4.3.17-1"],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.5-6.7.2"}]}],"bundled":9},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.5-6.7.2"}]}],"bundled":9},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.5-6.7.2"}]}],"bundled":9},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.6-67.9.8.1"}]}],"bundled":12},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4-LTSS","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.6-67.9.8.1"}]}],"bundled":12},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.2-3ubuntu6.1"}]}],"versions":["5.0.2-3ubuntu6"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.1-1ubuntu2.1"}]}],"versions":["5.1.1-1ubuntu1","5.1.1-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.2-3ubuntu6.1"}]}],"versions":["5.0.2-3ubuntu6"],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"zsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.1-1ubuntu2.1"}]}],"versions":["5.1.1-1ubuntu1","5.1.1-1ubuntu2"],"bundled":7}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"zsh","product":"zsh"}],"references":[{"url":"https://usn.ubuntu.com/3593-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://sourceforge.net/p/zsh/code/ci/a62e1640bcafbb82d86ea8d8ce057a83c4683d60","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10714"},{"url":"https://github.com/advisories/GHSA-86jf-f87h-wc84"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10714","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20181072-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1082885","tags":["report"]},{"url":"https://bugzilla.suse.com/1082975","tags":["report"]},{"url":"https://bugzilla.suse.com/1082977","tags":["report"]},{"url":"https://bugzilla.suse.com/1082991","tags":["report"]},{"url":"https://bugzilla.suse.com/1082998","tags":["report"]},{"url":"https://bugzilla.suse.com/1083002","tags":["report"]},{"url":"https://bugzilla.suse.com/1083250","tags":["report"]},{"url":"https://bugzilla.suse.com/1084656","tags":["report"]},{"url":"https://bugzilla.suse.com/1087026","tags":["report"]},{"url":"https://bugzilla.suse.com/896914","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2014-10070","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-10071","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-10072","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10714","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18205","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18206","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1071","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1083","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-7549","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-202214910-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1107294","tags":["report"]},{"url":"https://bugzilla.suse.com/1107296","tags":["report"]},{"url":"https://bugzilla.suse.com/1163882","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-0502","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-13259","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-20044","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-10714","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3593-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10714","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-10070","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-10071","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-10072","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-18205","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-18206","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-7548","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-7549","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-10714","description":"In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.","status":"published","published":"2018-02-27T22:00:00Z","modified":"2024-08-06T03:30:20.143Z","updated_at":"2026-11-02T14:33:31.117878Z"}],"euvd":[{"id":"EUVD-2016-1713","description":"In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.","status":"published","published":"2018-02-27T22:00:00Z","modified":"2024-08-06T03:30:20Z","updated_at":"2026-11-03T02:22:23.66215Z"}],"ghsa":[{"id":"GHSA-86jf-f87h-wc84","title":"In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to...","description":"In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.","status":"published","published":"2022-05-14T00:58:32Z","modified":"2023-02-02T05:02:50Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T14:51:31.346473Z"}],"nvd":[{"id":"CVE-2016-10714","description":"In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.","status":"published","published":"2018-02-27T22:29:00.433Z","modified":"2026-06-17T00:40:13.107Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-189"],"updated_at":"2026-11-02T14:03:39.176887Z"}],"osv":[{"id":"CVE-2016-10714","description":"In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.","status":"published","published":"2018-02-27T22:29:00.433Z","modified":"2026-10-24T10:30:21.345425333Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:01.531338Z"},{"id":"DEBIAN-CVE-2016-10714","description":"In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.","status":"published","published":"2018-02-27T22:29:00.433Z","modified":"2026-09-22T07:00:37.638198711Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"UBUNTU-CVE-2016-10714","description":"In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.","status":"published","published":"2018-02-27T00:00:00Z","modified":"2026-04-22T10:30:51.874678Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:11.492576Z"},{"id":"DLA-1304-1","title":"zsh - security update","status":"published","published":"2018-03-09T00:00:00Z","modified":"2026-03-09T01:02:01.388427Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"SUSE-SU-2018:1072-1","title":"Security update for zsh","description":"This update for zsh fixes the following issues:\n\n  - CVE-2014-10070: environment variable injection could lead to local privilege escalation (bnc#1082885)\n\n  - CVE-2014-10071: buffer overflow in exec.c could lead to denial of service. (bnc#1082977)\n\n  - CVE-2014-10072: buffer overflow In utils.c when scanning \nvery long directory paths for symbolic links. (bnc#1082975)\n\n  - CVE-2016-10714: In zsh before 5.3, an off-by-one error resulted in \nundersized buffers that were intended to support PATH_MAX characters. (bnc#1083250)\n\n  - CVE-2017-18205: In builtin.c when sh compatibility mode is used, a NULL pointer dereference \ncould lead to denial of service (bnc#1082998)\n\n  - CVE-2018-1071: exec.c:hashcmd() function vulnerability could lead to denial of service. (bnc#1084656)\n \n  - CVE-2018-1083: Autocomplete vulnerability could lead to privilege escalation. (bnc#1087026)\n\n  - CVE-2018-7549: In params.c in zsh through 5.4.2, there is a crash during a copy of an empty hash table, \nas demonstrated by typeset -p. (bnc#1082991)\n  \n  - CVE-2017-18206: buffer overrun in xsymlinks could lead to denial of service (bnc#1083002)\n    \n  - Autocomplete and REPORTTIME broken (bsc#896914)\n\n","status":"published","published":"2018-04-25T12:15:43Z","modified":"2026-02-04T03:21:09.316993Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2022:14910-1","title":"Security update for zsh","description":"This update for zsh fixes the following issues:\n\n- CVE-2019-20044: Fixed an insecure dropping of privileges when unsetting\n  the PRIVILEGED option (bsc#1163882).\n- CVE-2018-13259: Fixed an unexpected truncation of long shebang lines (bsc#1107294).\n- CVE-2018-7549: Fixed a crash when an empty hash table (bsc#1082991).\n- CVE-2018-1083: Fixed a stack-based buffer overflow when using tab completion\n  on directories with long names (bsc#1087026).\n- CVE-2018-1071: Fixed a stack-based buffer overflow when executing certain\n  commands (bsc#1084656).\n- CVE-2018-0502: Fixed a mishandling of shebang lines (bsc#1107296).\n- CVE-2017-18206: Fixed a buffer overflow related to symlink processing (bsc#1083002).\n- CVE-2017-18205: Fixed an application crash when using cd with no\n  arguments (bsc#1082998).\n- CVE-2016-10714: Fixed a potential application crash when handling maximum\n  length paths (bsc#1083250).\n- CVE-2014-10072: Fixed a buffer overflow when scanning very long directory\n  paths for symbolic links (bsc#1082975).\n- CVE-2014-10071: Fixed a buffer overflow when redirecting output to a long\n  file descriptor (bsc#1082977).\n- CVE-2014-10070: Fixed a privilege escalation vulnerability via environment\n  variables (bsc#1082885).\n","status":"published","published":"2022-03-14T16:25:48Z","modified":"2026-02-04T02:44:38.670339Z","updated_at":"2026-11-02T15:53:50.513981Z"},{"id":"USN-3593-1","title":"zsh vulnerabilities","description":"It was discovered that Zsh incorrectly handled certain enviroment variables.\nAn attacker could possibly use this issue to gain privileged access to the\nsystem. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-10070)\n\nIt was discovered that Zsh incorrectly handled certain inputs.\nAn attacker could possibly use this to execute arbitrary code. This\nissue only affected Ubuntu 14.04 LTS. (CVE-2014-10071)\n\nIt was discovered that Zsh incorrectly handled some symbolic links.\nAn attacker could possibly use this to execute arbitrary code. This issue\nonly affected Ubuntu 14.04 LTS. (CVE-2014-10072)\n\nIt was discovered that Zsh incorrectly handled certain errors. An attacker\ncould possibly use this issue to cause a denial of service. (CVE-2016-10714)\n\nIt was discovered that Zsh incorrectly handled certain commands. An attacker\ncould possibly use this to execute arbitrary code. (CVE-2017-18205)\n\nIt was discovered that Zsh incorrectly handled certain symlinks. An attacker\ncould possibly use this to execute arbitrary code. This issue only affected\nUbuntu 16.04 LTS and Ubuntu 17.10. (CVE-2017-18206)\n\nIt was discovered that Zsh incorrectly handled certain inputs. An attacker could\npossible use to execute arbitrary code. This issue only affected Ubuntu 17.10.\n(CVE-2018-7548)\n\nIt was discovered that Zsh incorrectly handled certain inputs. An attacker\ncould possibly use this to cause a denial of service. (CVE-2018-7549)\n","status":"published","published":"2018-03-08T14:27:49Z","modified":"2026-04-22T09:44:42.029808Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
