We consider a system composed of two fluids in contact with a solid where one of these fluids dissolves the solid material. Both the dissolution process and the capillary phenomena play a role in the system evolution, which is analyzed on the basis of stability arguments for a two-dimensional geometry.