The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27 contains a buffer overflow during unescaping of user names with the ~ operator.
https://sourceware.org/bugzilla/show_bug.cgi?id=22332
https://access.redhat.com/errata/RHSA-2018:1879