There currently are a variety of options to travel by night train from Budapest (Hungary) to Ulm (Germany), taking between approximately 11 and 12 hours: Namely the EN 442 and the EN 50462. These lines are operated by MÁV-Start.
MÁV-Start, Hungary's national passenger railway, operates domestic and cross-border trains throughout the region.