sore or inflammation inside of the mouth. The sore can be in the cheeks, gums, inside of the lips, or on the tongue. The two main forms of stomatitis are herpes stomatitis, also known as a cold sore, and aphthous stomatitis, also known as a canker sore.