(CNN) -- At least 32 militants died in clashes with security forces on Thursday in the Malaysian state of Sabah, the state news agency said.