The GIL is crucial for Python's memory safety, preventing race conditions in reference counting that would otherwise lead to severe issues like memory leaks (count too high), objects being freed while still in use (use-after-free), or double frees, all of which can cause crashes and data corruption.