The death toll from a bomb blast that struck a group of herders in central Nigeria has risen to 40 from 27, the local government said Thursday.