Does this happen often or only during high CPU?
Test with another OS, to eliminste hardware issues?
Post output of sensors:

sudo apt install lm-sensors
sensors-detect
sensors