If you must eat it, I recommend removing the visible mold and then heating it to 200'F degrees for a solid hour (crock pot) to kill off pathogens. This may not even kill all mold spores, but it's good practice with questionable butter..
In the future, cannabutter can be stored safely in the freezer and thawed when you need it.