The issue is caused by a buffer overflow in the AppleGraphicsPowerManagement component of the Mac OS X operating system. This can be exploited by a local attacker to gain elevated privileges or cause a denial of service, resulting in memory corruption.