DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mgetty (PTS)stretch (security), stretch1.1.36-3+deb9u1vulnerable
bookworm, sid, bullseye1.2.1-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


contrib/next-login/ not built in Debian packaging
Upstream commit: 5feff135626b8dde886213ce0c99cc4349028a7e (1.2.1)

Search for package or bug name: Reporting problems