Go has no mmap(), import a 3rd party dependency for that and you'll get a segfault the very second you do a mistake.
Python has an mmap module which will catch many memory errors and present them as exception rather than causing a CVE.
What Go mmap CVE were you thinking of?
Every time you see "segmentation fault", that right there is a CVE.