Romania shares borders with Hungary and Serbia to the west , Ukraine to the far northeast , the Republic of Moldova to the near northeast , and Bulgaria to the south . Romania shares a border with Hungary and Serbia to the west , Ukraine and the Moldova to the northeast , and Bulgaria to the south .