A race condition was addressed with improved locking. Unpacking a maliciously crafted archive may allow an attacker to write arbitrary files. The issue is related to the libAppleArchive library and may enable attackers to achieve arbitrary file writes on macOS and iOS systems, with the added potential of bypassing Apple’s Gatekeeper protections.