Gabonese President Ali Bongo Ondimba is under house arrest and one of his sons has been arrested for "treason", military officers said Wednesday, hours after announcing they had overthrown the government.

"President Ali Bongo is under house arrest, surrounded by his family and doctors," they said in a statement read out on state TV.