Fuel tanks have vents to prevent overfilling from damaging them. From one of the Boeing documents I found, the 767-400ER will vent tanks into the fuel dumping system, passively pushing the excess overboard.
I think I prefer the “dump fuel” failure mode.