Some 2,500 Malaysians were held in prisons abroad for various offences in the first six months of this year.