At least 10 migrants died when their boat sank off the Libyan coast near the western town of Sabratha on Tuesday, a Libyan security official said.