An ulcer in the mouth is caused by the loss of delicate tissue that lines the interior of the mouth or its erosion, which is referred to as a mouth ulcer (mucous membrane). They are widely known as canker sores.