The get_contents function in nss_files/files-XXX.c in the Name Service Switch (NSS) in GNU C Library (aka glibc or libc6) before 2.20 might allow local users to cause a denial of service (heap corruption) or gain privileges via a long line in the NSS files database.
https://sourceware.org/ml/libc-alpha/2014-09/msg00088.html
https://sourceware.org/bugzilla/show_bug.cgi?id=17079
https://security.gentoo.org/glsa/201702-11
https://seclists.org/bugtraq/2019/Sep/7
https://bugzilla.redhat.com/show_bug.cgi?id=1262914
http://www.ubuntu.com/usn/USN-2985-2
http://www.ubuntu.com/usn/USN-2985-1
http://www.securitytracker.com/id/1034196
http://www.securityfocus.com/bid/78092
http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
http://seclists.org/fulldisclosure/2019/Sep/7