Every CVE Search/ Get API key

CVE-2018-16745

An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to...

7.8 HighFix available

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.

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

0.45%Unchanged since Apr 14, 2021
90%50%10%1%

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 a buffer overflow if long untrusted input can reach it.

Record
CVE-2018-16745
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-119
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 a buffer overflow if long untrusted input can reach it.

Record
CVE-2018-16745
Updated
2026-11-02
EUVDEUVD-2018-8545 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 a buffer overflow if long untrusted input can reach it.

Record
EUVD-2018-8545
Updated
2026-11-03
GitHub AdvisoriesGHSA-p49w-34p5-fh3m 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 a buffer overflow if long untrusted input can reach it.

Record
GHSA-p49w-34p5-fh3m
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119
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 a buffer overflow if long untrusted input can reach it.

Record
CVE-2018-16745
CVSS 3.0
7.8 HighCVSS: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-16745 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 a buffer overflow if long untrusted input can reach it.

Record
DEBIAN-CVE-2018-16745
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2018-16745 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 a buffer overflow if long untrusted input can reach it.

Record
UBUNTU-CVE-2018-16745
CVSS 3.0
7.8 HighCVSS: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
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

Affected packages
PackageAffectedFixed
mgetty
Debian:12
before 1.2.1-1
1.2.1-1
mgetty
Debian:13
before 1.2.1-1
1.2.1-1
mgetty
Debian:14
before 1.2.1-1
1.2.1-1
mgetty
Mageia:6
before 1.1.37-1.1.mga6
1.1.37-1.1.mga6
mgetty
SUSE:Linux Enterprise Server 11 SP4
before 1.1.36-28.3.1
1.1.36-28.3.1
mgetty
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 1.1.36-28.3.1
1.1.36-28.3.1
mgetty
SUSE:Linux Enterprise Module for Basesystem 15
before 1.1.37-3.3.2
1.1.37-3.3.2
mgetty
SUSE:Linux Enterprise Desktop 12 SP3
before 1.1.36-58.3.1
1.1.36-58.3.1
mgetty
SUSE:Linux Enterprise Server 12 SP3
before 1.1.36-58.3.1
1.1.36-58.3.1
mgetty
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 1.1.36-58.3.1
1.1.36-58.3.1
mgetty
Ubuntu:16.04:LTS
All versions, plus listed versions
1.1.36-2.11.1.36-2.1+deb8u1build0.16.04.1
None known
mgetty
Ubuntu:18.04:LTS
All versions, plus listed versions
1.1.36-3.1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-16745 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 0.45%, the 39th percentile. Fixed in mgetty 1.2.1-1.

References

Show 16 moreShow less
MoveEnter Open