A reconfigurable intelligent reflective surface (RIS)-assisted cognitive radio (CR) multiple-input multiple-output (MIMO) secure communication system is considered. In the presence of an eavesdropper, a primary base station (PBS) and a cognitive base station (CBS) equipped with multiple antennas communicate to a primary user (PU) and a secondary user (SU), respectively. In order to maximize the achievable secrecy rate of the system, the secrecy rate maximization problem is first transformed into a secure energy efficiency (SEE) problem using an objective function. Then, the security energy efficiency of the system is maximized by jointly optimizing the transmit beam formation of the base station and the reflected beam formation of the smart reflecting surface under the conditions that the total transmitted power constraint and the interference power constraint are satisfied. To address the difficulty in solving the resulting optimization problem, we apply an algorithm based on alternating optimization and semidefinite relaxation, as well as Dinklbach’s algorithm, to solve the problem. Simulation results show that this method can significantly improve the safety energy efficiency of the system.