CVEfocus › CVE database › CVE-2018-16743

CVE-2018-16743

CVSS 7.8 HighEPSS 0.4% (higher than 39% of CVEs)Published 2018-09-13Updated 2024-08-05Assigner: mitre

An issue was discovered in mgetty before 1.2.1. In contrib/next-login/login.c, the command-line parameter username is passed unsanitized to strcpy(), which can cause a stack-based buffer overflow.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
3Fix pending
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04mgettyNot affected
vulnerable_code_not_present
Ubuntu 25.10mgettyNot affected
vulnerable_code_not_present
Ubuntu 24.04mgettyNot affected
vulnerable_code_not_present
Ubuntu 22.04mgettyNot affected
vulnerable_code_not_present
Ubuntu 20.04mgettyNot affected
vulnerable_code_not_present
Ubuntu 18.04mgettyFix pendingUBUNTU-CVE-2018-16743
Ubuntu 16.04mgettyFix pendingUBUNTU-CVE-2018-16743
Ubuntu 14.04mgettyFix pending
Debian 14mgettyFixed1.2.1-1DEBIAN-CVE-2018-16743
Debian 13mgettyFixed1.2.1-1DEBIAN-CVE-2018-16743
Debian 12mgettyFixed1.2.1-1DEBIAN-CVE-2018-16743
Red Hat Enterprise Linux 7mgettyNot affected
Red Hat Enterprise Linux 7mgetty-sendfaxNot affected
Red Hat Enterprise Linux 7mgetty-viewfaxNot affected
Red Hat Enterprise Linux 7mgetty-voiceNot affected
Red Hat Enterprise Linux 6mgettyNot affected
Red Hat Enterprise Linux 6mgetty-sendfaxNot affected
Red Hat Enterprise Linux 6mgetty-viewfaxNot affected
Red Hat Enterprise Linux 6mgetty-voiceNot affected
Red Hat Enterprise Linux 5mgettyNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.