CVE-2018-16744
An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to...
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 for command injection if untrusted input can reach it, because popen is used.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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 for command injection if untrusted input can reach it, because popen is used.
- Record
CVE-2018-16744- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-78
- Updated
- 2026-11-02
CVE List No score
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 for command injection if untrusted input can reach it, because popen is used.
- Record
CVE-2018-16744- Updated
- 2026-11-02
EUVDEUVD-2018-8544 No score
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 for command injection if untrusted input can reach it, because popen is used.
- Record
EUVD-2018-8544- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-86wq-gv4v-p8jq
7.8
An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to...
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 for command injection if untrusted input can reach it, because popen is used.
- Record
GHSA-86wq-gv4v-p8jq- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSV
7.8
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 for command injection if untrusted input can reach it, because popen is used.
- Record
CVE-2018-16744- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-16744
7.8
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 for command injection if untrusted input can reach it, because popen is used.
- Record
DEBIAN-CVE-2018-16744- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2018-16744
7.8
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 for command injection if untrusted input can reach it, because popen is used.
- Record
UBUNTU-CVE-2018-16744- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0402 No score
Updated mgetty packages fix security vulnerabilities
Updated mgetty packages fix security vulnerabilities:
The function do_activate() did not properly sanitize shell metacharacters to prevent command injection (CVE-2018-16741).
Stack-based buffer overflow that could have been triggered via a command-line parameter (CVE-2018-16742).
The command-line parameter username wsa passed unsanitized to strcpy(), which could have caused a stack-based buffer overflow (CVE-2018-16743).
The mail_to parameter was not sanitized, leading to command injection if untrusted input reached reach it (CVE-2018-16744).
The mail_to parameter was not sanitized, leading to a buffer overflow if long untrusted input reached it (CVE-2018-16745).
- Record
MGASA-2018-0402- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11047-1 No score
g3utils-1.2.1-6.2 on GA media
These are all security issues fixed in the g3utils-1.2.1-6.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11047-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:2850-1 No score
Security update for mgetty
This update for mgetty fixes the following issues:
- CVE-2018-16741: The function do_activate() did not properly sanitize shell metacharacters to prevent command injection (bsc#1108752)
- CVE-2018-16745: The mail_to parameter was not sanitized, leading to a buffer overflow if long untrusted input reached it (bsc#1108756)
- CVE-2018-16744: The mail_to parameter was not sanitized, leading to command injection if untrusted input reached reach it (bsc#1108757)
- CVE-2018-16742: Prevent stack-based buffer overflow that could have been triggered via a command-line parameter (bsc#1108762)
- CVE-2018-16743: The command-line parameter username wsa passed unsanitized to strcpy(), which could have caused a stack-based buffer overflow (bsc#1108761)
- Record
SUSE-SU-2018:2850-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:2894-1 No score
Security update for mgetty
This update for mgetty fixes the following issues:
- CVE-2018-16741: The function do_activate() did not properly sanitize shell metacharacters to prevent command injection (bsc#1108752).
- CVE-2018-16745: The mail_to parameter was not sanitized, leading to a buffer overflow if long untrusted input reached it (bsc#1108756).
- CVE-2018-16744: The mail_to parameter was not sanitized, leading to command injection if untrusted input reached reach it (bsc#1108757).
- CVE-2018-16742: Prevent stack-based buffer overflow that could have been triggered via a command-line parameter (bsc#1108762).
- CVE-2018-16743: The command-line parameter username wsa passed unsanitized to strcpy(), which could have caused a stack-based buffer overflow (bsc#1108761).
- Record
SUSE-SU-2018:2894-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:2979-1 No score
Security update for mgetty
This update for mgetty fixes the following security issues:
- CVE-2018-16741: The function do_activate() did not properly sanitize shell metacharacters to prevent command injection (bsc#1108752)
- CVE-2018-16745: The mail_to parameter was not sanitized, leading to a buffer overflow if long untrusted input reached it (bsc#1108756)
- CVE-2018-16744: The mail_to parameter was not sanitized, leading to command injection if untrusted input reached reach it (bsc#1108757)
- CVE-2018-16742: Prevent stack-based buffer overflow that could have been triggered via a command-line parameter (bsc#1108762)
- CVE-2018-16743: The command-line parameter username wsa passed unsanitized to strcpy(), which could have caused a stack-based buffer overflow (bsc#1108761)
- Record
SUSE-SU-2018:2979-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mgettyDebian:12 |
before 1.2.1-1 | 1.2.1-1 |
mgettyDebian:13 |
before 1.2.1-1 | 1.2.1-1 |
mgettyDebian:14 |
before 1.2.1-1 | 1.2.1-1 |
mgettyMageia:6 |
before 1.1.37-1.1.mga6 | 1.1.37-1.1.mga6 |
mgettySUSE:Linux Enterprise Server 11 SP4 |
before 1.1.36-28.3.1 | 1.1.36-28.3.1 |
mgettySUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 1.1.36-28.3.1 | 1.1.36-28.3.1 |
mgettySUSE:Linux Enterprise Module for Basesystem 15 |
before 1.1.37-3.3.2 | 1.1.37-3.3.2 |
mgettySUSE:Linux Enterprise Desktop 12 SP3 |
before 1.1.36-58.3.1 | 1.1.36-58.3.1 |
mgettySUSE:Linux Enterprise Server 12 SP3 |
before 1.1.36-58.3.1 | 1.1.36-58.3.1 |
mgettySUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 1.1.36-58.3.1 | 1.1.36-58.3.1 |
mgettyUbuntu:16.04:LTS |
All versions, plus listed versions 1.1.36-2.11.1.36-2.1+deb8u1build0.16.04.1 |
None known |
mgettyUbuntu:18.04:LTS |
All versions, plus listed versions 1.1.36-3.1 |
None known |
mgettyopenSUSE:Tumbleweed |
before 1.2.1-6.2 | 1.2.1-6.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-16744 is a high vulnerability (CVSS 7.8) in Mgetty Project Mgetty, published September 13, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.03%, the 63rd percentile. Fixed in mgetty 1.2.1-1.
References
x41-dsec.de/lab/advisories/x41-2018-007-mgetty
nvd.nist.gov/vuln/detail/CVE-2018-16744
github.com/advisories/GHSA-86wq-gv4v-p8jq
security-tracker.debian.org/tracker/CVE-2018-16744
advisories.mageia.org/MGASA-2018-0402.html
bugs.mageia.org/show_bug.cgi?id=23567
Show 17 moreShow less
lists.opensuse.org/opensuse-updates/2018-09/msg00176.html
suse.com/support/update/announcement/2018/suse-su-20182850-1
bugzilla.suse.com/1108752
bugzilla.suse.com/1108756
bugzilla.suse.com/1108757
bugzilla.suse.com/1108761
bugzilla.suse.com/1108762
suse.com/security/cve/CVE-2018-16741
suse.com/security/cve/CVE-2018-16742
suse.com/security/cve/CVE-2018-16743
suse.com/security/cve/CVE-2018-16744
suse.com/security/cve/CVE-2018-16745
suse.com/support/update/announcement/2018/suse-su-20182894-1
suse.com/support/update/announcement/2018/suse-su-20182979-1
ubuntu.com/security/CVE-2018-16744
cve.org/CVERecord?id=CVE-2018-16744
suse.com/security/cve/CVE-2008-4936