{"id":"CVE-2018-16741","aliases":["DEBIAN-CVE-2018-16741","DLA-1502-1","DSA-4291-1","EUVD-2018-8541","GHSA-g9c8-38wc-phh5","MGASA-2018-0402","SUSE-SU-2018:2850-1","SUSE-SU-2018:2894-1","SUSE-SU-2018:2979-1","UBUNTU-CVE-2018-16741","openSUSE-SU-2024:11047-1"],"status":"published","title":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate()...","description":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, \u0026\u0026, or \u003e characters within a file created by the \"faxq-helper activate \u003cjobid\u003e\" command.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01323,"percentile":0.71108,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2018-09-11T00:00:00Z","modified":"2026-10-23T18:03:00Z","fixes":[{"ecosystem":"Debian:12","package":"mgetty","fixed_in":["1.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mgetty","fixed_in":["1.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mgetty","fixed_in":["1.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"mgetty","fixed_in":["1.1.36-2.1+deb8u1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"mgetty","fixed_in":["1.1.36-3+deb9u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"mgetty","fixed_in":["1.1.36-2.1+deb8u1build0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.36-2.1+deb8u1"}]}],"versions":["1.1.36-2.1"]},{"source":"osv","ecosystem":"Debian:9","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.36-3+deb9u1"}]}],"versions":["1.1.36-3"]},{"source":"osv","ecosystem":"Mageia:6","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.37-1.1.mga6"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.36-28.3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.36-28.3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.37-3.3.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.36-58.3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.36-58.3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.36-58.3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.36-2.1+deb8u1build0.16.04.1"}]}],"versions":["1.1.36-2.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.36-3.1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-6.2"}]}],"bundled":5}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"mgetty_project","product":"mgetty"}],"references":[{"url":"https://www.x41-dsec.de/lab/advisories/x41-2018-007-mgetty","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://www.debian.org/security/2018/dsa-4291","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00012.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16741"},{"url":"https://github.com/advisories/GHSA-g9c8-38wc-phh5"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-16741","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0402.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23567","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2018-09/msg00176.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182850-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1108752","tags":["report"]},{"url":"https://bugzilla.suse.com/1108756","tags":["report"]},{"url":"https://bugzilla.suse.com/1108757","tags":["report"]},{"url":"https://bugzilla.suse.com/1108761","tags":["report"]},{"url":"https://bugzilla.suse.com/1108762","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16741","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16742","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16743","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16744","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16745","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182894-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182979-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-16741","tags":["report"]},{"url":"https://www.x41-dsec.de/lab/advisories/x41-2018-007-mgetty/","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-16741","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2008-4936","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-16741","description":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, \u0026\u0026, or \u003e characters within a file created by the \"faxq-helper activate \u003cjobid\u003e\" command.","status":"published","published":"2018-09-13T16:00:00Z","modified":"2024-08-05T10:32:53.779Z","updated_at":"2026-11-02T14:35:11.072321Z"}],"euvd":[{"id":"EUVD-2018-8541","description":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, \u0026\u0026, or \u003e characters within a file created by the \"faxq-helper activate \u003cjobid\u003e\" command.","status":"published","published":"2018-09-13T16:00:00Z","modified":"2024-08-05T10:32:53Z","updated_at":"2026-11-03T02:39:40.768074Z"}],"ghsa":[{"id":"GHSA-g9c8-38wc-phh5","title":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate()...","description":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, \u0026\u0026, or \u003e characters within a file created by the \"faxq-helper activate \u003cjobid\u003e\" command.","status":"published","published":"2022-05-13T01:50:26Z","modified":"2023-02-02T05:01:51Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:51:16.795251Z"}],"nvd":[{"id":"CVE-2018-16741","description":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, \u0026\u0026, or \u003e characters within a file created by the \"faxq-helper activate \u003cjobid\u003e\" command.","status":"published","published":"2018-09-13T16:29:00.28Z","modified":"2026-06-17T01:44:45.11Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:04:40.661264Z"}],"osv":[{"id":"CVE-2018-16741","description":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, \u0026\u0026, or \u003e characters within a file created by the \"faxq-helper activate \u003cjobid\u003e\" command.","status":"published","published":"2018-09-13T16:29:00.28Z","modified":"2026-04-16T06:19:33.075412216Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:08.533609Z"},{"id":"DEBIAN-CVE-2018-16741","description":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, \u0026\u0026, or \u003e characters within a file created by the \"faxq-helper activate \u003cjobid\u003e\" command.","status":"published","published":"2018-09-13T16:29:00.28Z","modified":"2026-10-23T18:03:00.970479769Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.290351Z"},{"id":"UBUNTU-CVE-2018-16741","description":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, \u0026\u0026, or \u003e characters within a file created by the \"faxq-helper activate \u003cjobid\u003e\" command.","status":"published","published":"2018-09-13T16:29:00Z","modified":"2025-10-24T04:47:12Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:17.496046Z"},{"id":"DLA-1502-1","title":"mgetty - security update","status":"published","published":"2018-09-12T00:00:00Z","modified":"2026-03-09T01:21:01.248196Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DSA-4291-1","title":"mgetty - security update","status":"published","published":"2018-09-11T00:00:00Z","modified":"2026-03-09T02:08:30.247835Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"MGASA-2018-0402","title":"Updated mgetty packages fix security vulnerabilities","description":"Updated mgetty packages fix security vulnerabilities:\n\nThe function do_activate() did not properly sanitize shell metacharacters\nto prevent command injection (CVE-2018-16741).\n\nStack-based buffer overflow that could have been triggered via a\ncommand-line parameter (CVE-2018-16742).\n\nThe command-line parameter username wsa passed unsanitized to strcpy(),\nwhich could have caused a stack-based buffer overflow (CVE-2018-16743).\n\nThe mail_to parameter was not sanitized, leading to command injection if\nuntrusted input reached reach it (CVE-2018-16744).\n\nThe mail_to parameter was not sanitized, leading to a buffer overflow if\nlong untrusted input reached it (CVE-2018-16745).\n","status":"published","published":"2018-10-19T18:00:37Z","modified":"2026-04-16T06:25:08.891186615Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"openSUSE-SU-2024:11047-1","title":"g3utils-1.2.1-6.2 on GA media","description":"These are all security issues fixed in the g3utils-1.2.1-6.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:16:07.77129Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"SUSE-SU-2018:2850-1","title":"Security update for mgetty","description":"This update for mgetty fixes the following issues:\n\n- CVE-2018-16741: The function do_activate() did not properly sanitize shell\n  metacharacters to prevent command injection (bsc#1108752)\n- CVE-2018-16745: The mail_to parameter was not sanitized, leading to a buffer\n  overflow if long untrusted input reached it (bsc#1108756)\n- CVE-2018-16744: The mail_to parameter was not sanitized, leading to command\n  injection if untrusted input reached reach it (bsc#1108757)\n- CVE-2018-16742: Prevent stack-based buffer overflow that could have been\n  triggered via a command-line parameter (bsc#1108762)\n- CVE-2018-16743: The command-line parameter username wsa passed unsanitized to\n  strcpy(), which could have caused a stack-based buffer overflow (bsc#1108761)\n","status":"published","published":"2018-09-25T10:07:36Z","modified":"2026-02-04T04:07:15.730027Z","updated_at":"2026-11-02T15:53:45.378228Z"},{"id":"SUSE-SU-2018:2894-1","title":"Security update for mgetty","description":"This update for mgetty fixes the following issues:\n\n- CVE-2018-16741: The function do_activate() did not properly sanitize shell\n  metacharacters to prevent command injection (bsc#1108752).\n- CVE-2018-16745: The mail_to parameter was not sanitized, leading to a buffer\n  overflow if long untrusted input reached it (bsc#1108756).\n- CVE-2018-16744: The mail_to parameter was not sanitized, leading to command\n  injection if untrusted input reached reach it (bsc#1108757).\n- CVE-2018-16742: Prevent stack-based buffer overflow that could have been\n  triggered via a command-line parameter (bsc#1108762).\n- CVE-2018-16743: The command-line parameter username wsa passed unsanitized to\n  strcpy(), which could have caused a stack-based buffer overflow (bsc#1108761).\n","status":"published","published":"2018-09-27T10:04:29Z","modified":"2026-02-04T02:39:05.54846Z","updated_at":"2026-11-02T15:53:45.378228Z"},{"id":"SUSE-SU-2018:2979-1","title":"Security update for mgetty","description":"This update for mgetty fixes the following security issues:\n\n- CVE-2018-16741: The function do_activate() did not properly sanitize shell\n  metacharacters to prevent command injection (bsc#1108752)\n- CVE-2018-16745: The mail_to parameter was not sanitized, leading to a buffer\n  overflow if long untrusted input reached it (bsc#1108756)\n- CVE-2018-16744: The mail_to parameter was not sanitized, leading to command\n  injection if untrusted input reached reach it (bsc#1108757)\n- CVE-2018-16742: Prevent stack-based buffer overflow that could have been\n  triggered via a command-line parameter (bsc#1108762)\n- CVE-2018-16743: The command-line parameter username wsa passed unsanitized to\n  strcpy(), which could have caused a stack-based buffer overflow (bsc#1108761)\n","status":"published","published":"2018-10-02T15:51:02Z","modified":"2026-02-04T04:38:33.740449Z","updated_at":"2026-11-02T15:53:45.378228Z"}]}}
