{"id":"CVE-2018-16745","aliases":["DEBIAN-CVE-2018-16745","EUVD-2018-8545","GHSA-p49w-34p5-fh3m","MGASA-2018-0402","SUSE-SU-2018:2850-1","SUSE-SU-2018:2894-1","SUSE-SU-2018:2979-1","UBUNTU-CVE-2018-16745"],"status":"published","title":"An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to...","description":"An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.","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.00448,"percentile":0.39202,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2018-09-13T16:00:00Z","modified":"2026-10-23T18:03:19Z","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"]}],"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":"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"}]}],"versions":["1.1.36-2.1","1.1.36-2.1+deb8u1build0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mgetty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.36-3.1"]}],"products":[{"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://nvd.nist.gov/vuln/detail/CVE-2018-16745"},{"url":"https://github.com/advisories/GHSA-p49w-34p5-fh3m"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-16745","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-16745","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-16745","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-16745","description":"An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.","status":"published","published":"2018-09-13T16:00:00Z","modified":"2024-08-05T10:32:54.013Z","updated_at":"2026-11-02T14:35:11.072321Z"}],"euvd":[{"id":"EUVD-2018-8545","description":"An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.","status":"published","published":"2018-09-13T16:00:00Z","modified":"2024-08-05T10:32:54Z","updated_at":"2026-11-03T02:39:40.316949Z"}],"ghsa":[{"id":"GHSA-p49w-34p5-fh3m","title":"An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to...","description":"An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.","status":"published","published":"2022-05-14T02:02:39Z","modified":"2023-02-02T05:04:59Z","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-119"],"updated_at":"2026-11-02T14:52:00.521272Z"}],"nvd":[{"id":"CVE-2018-16745","description":"An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.","status":"published","published":"2018-09-13T16:29:00.873Z","modified":"2026-06-17T01:44:45.603Z","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":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:40.661264Z"}],"osv":[{"id":"CVE-2018-16745","description":"An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.","status":"published","published":"2018-09-13T16:29:00.873Z","modified":"2026-04-16T06:16:44.900864834Z","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-16745","description":"An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.","status":"published","published":"2018-09-13T16:29:00.873Z","modified":"2026-10-23T18:03:19.769162538Z","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-16745","description":"An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.","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":"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":"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"}]}}
