A defect in the skin or lining of the mouth or intestines resulting from an infectious, malignant, or inflammatory process; examples include peptic (stomach) ulcers and mouth ulcers (canker sores)