Skip to content
Fencer Intel
high 7.8

CVE-2018-16743 json

An issue was discovered in mgetty before 1.2.1.

published 8y ago modified 4mo ago also EUVD-2018-8543

cvss
7.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 39%
public exploits
0
none known

Summary

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.

Patch / fix

  • mgetty_project mgetty 1.2.1
  • mgetty Debian 14, Debian 13, Debian 12 1.2.1-1

debian advisories DEBIAN-CVE-2018-16743

  • mgetty SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 1.1.36-58.3.1
  • mgetty SLE Module for Basesystem 15 1.1.37-3.3.2
  • mgetty SLES for SAP 11 SP4, SLES 11 SP4 1.1.36-28.3.1

suse advisories SUSE-SU-2018:2979-1SUSE-SU-2018:2894-1SUSE-SU-2018:2850-1

  • mgetty openSUSE Tumbleweed 1.2.1-6.2

opensuse advisories openSUSE-SU-2024:11047-1

Is CVE-2018-16743 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-16743 updated cvss 2.9

mgetty: Stack-based buffer overflow with long username in contrib/next-login/login.c

  • Red Hat Enterprise Linux 5 mgetty Red Hat Enterprise Linux 6 mgetty, mgetty-voice, mgetty-sendfax, mgetty-viewfax Red Hat Enterprise Linux 7 mgetty, mgetty-voice, mgetty-sendfax, mgetty-viewfax
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • x41-dsec.de https://www.x41-dsec.de/lab/advisories/x41-2018-007-mgetty referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.