CVE-2018-16741
An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate()...
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 ||, &&, or > characters within a file created by the "faxq-helper activate <jobid>" command.
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/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, &&, or > characters within a file created by the "faxq-helper activate <jobid>" command.
- Record
CVE-2018-16741- 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
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-78
- Updated
- 2026-11-02
CVE List No score
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 ||, &&, or > characters within a file created by the "faxq-helper activate <jobid>" command.
- Record
CVE-2018-16741- Updated
- 2026-11-02
EUVDEUVD-2018-8541 No score
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 ||, &&, or > characters within a file created by the "faxq-helper activate <jobid>" command.
- Record
EUVD-2018-8541- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-g9c8-38wc-phh5
7.8
An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate()...
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 ||, &&, or > characters within a file created by the "faxq-helper activate <jobid>" command.
- Record
GHSA-g9c8-38wc-phh5- 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/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, &&, or > characters within a file created by the "faxq-helper activate <jobid>" command.
- Record
CVE-2018-16741- 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-16741
7.8
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 ||, &&, or > characters within a file created by the "faxq-helper activate <jobid>" command.
- Record
DEBIAN-CVE-2018-16741- 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-16741
7.8
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 ||, &&, or > characters within a file created by the "faxq-helper activate <jobid>" command.
- Record
UBUNTU-CVE-2018-16741- 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 |
mgettyDebian:8 |
before 1.1.36-2.1+deb8u1, plus listed versions 1.1.36-2.1 |
1.1.36-2.1+deb8u1 |
mgettyDebian:9 |
before 1.1.36-3+deb9u1, plus listed versions 1.1.36-3 |
1.1.36-3+deb9u1 |
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 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
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 |
before 1.1.36-2.1+deb8u1build0.16.04.1, plus listed versions 1.1.36-2.1 |
1.1.36-2.1+deb8u1build0.16.04.1 |
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-16741 is a high vulnerability (CVSS 7.8) in Mgetty Project Mgetty, published September 11, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.32%, the 70th percentile. Fixed in mgetty 1.2.1-1.
References
x41-dsec.de/lab/advisories/x41-2018-007-mgetty
debian.org/security/2018/dsa-4291
lists.debian.org/debian-lts-announce/2018/09/msg00012.html
nvd.nist.gov/vuln/detail/CVE-2018-16741
github.com/advisories/GHSA-g9c8-38wc-phh5
security-tracker.debian.org/tracker/CVE-2018-16741
Show 19 moreShow less
advisories.mageia.org/MGASA-2018-0402.html
bugs.mageia.org/show_bug.cgi?id=23567
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-16741
cve.org/CVERecord?id=CVE-2018-16741
suse.com/security/cve/CVE-2008-4936