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. References: https://www.x41-dsec.de/lab/advisories/x41-2018-007-mgetty
Created mgetty tracking bugs for this issue: Affects: fedora-all [bug 1629974]
Statement: This issue did not affect the versions of mgetty as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include the patched login binary provided by mgetty.