There currently is one option to travel by night train from Ploieşti (Romania) to Hegyeshalom (Hungary), taking between approximately 16 and 17 hours: Namely the 346. These lines are operated by CFR Călători and MÁV-Start.
CFR Călători is the passenger operator of the Romanian state railway. It runs domestic trains across Romania and international services to Hungary and Austria, including night trains.
MÁV-Start is Hungary's national passenger railway operator, running domestic and international trains connecting Hungary with neighboring countries.