CVE Database›CVE-2018-16743

CVE-2018-16743

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

Loading…

Severity

Low

Red Hat Product Security

2.9

CVSS 3.0

Review impact separately from score.

Published · September 13, 2018

Updated · November 22, 2025

Description

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.

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 2.9
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

CWE-121 · Stack-based Buffer Overflow