At least 40 people died and nearly 150 others were injured on Friday after a packed three-storey ferry carrying around 500 passengers caught fire on the Sugandha River in southern Bangladesh, officials said.