Panamanian authorities have released 32 of the 35 North Koreans detained since July after an undeclared cargo of Cuban arms was found on their ship, prosecutors said Thursday.