I don't know if this can affect dogs but my boy cat developed several rodent ulcers last year. Maybe it could be that?

Good luck!