Iranian media sources reported that at least 25 inmates and two security officers have been killed when a riot broke out overnight at a high-security prison in Tajikistan's northern city of Khujand, security sources say.