Vietnam could explore legal action among various options in its territorial dispute with powerful neighbor China in the South China Sea, a senior government official said on Wednesday.