VIENNA - The UN's top investigator on torture and punishment warned Friday that overcrowded prisons are breeding grounds for AIDS.

Often, inmates are held in inhumane conditions in which the HIV virus is spread through the use of non-sterile drug injection equipment, sexual contacts, tattooing and sharing of razors, Manfred Nowak said.

"There is a global prison crisis," he told an international AIDS conference.

Nowak, who has visited detention facilities around the world, urged authorities to inform prisoners of the risk of HIV transmission and offer them free condoms, HIV testing and counseling. He also urged prisons to offer needle and syringe programs, opiate substitution therapies and methadone treatments.

"Science tells us exactly what we have to do, it's just a question of political will to implement it," Nowak said.

In addition, prison guards should live up to their obligation to prevent rape and other forms of coercion that thrive in packed environments.

"One of the most important measures to prevent HIV transmission would be the reduction of overcrowding," since it leads to violence and conditions that are conducive to the spread of the virus, he added.

Nowak said that, although reliable figures are hard to come by, the prevalence of HIV in prisons is generally much higher than in a country's wider population.

In Ukraine, for example, the prevalence of HIV in prison is at least 10 times that of the overall population, he said.

While about 10 million people are incarcerated every year, some 30 million enter and leave prisons annually -- making it a public health problem for society, he said.

"Prison health is public health," Nowak said.