A use-after-free vulnerability in libarchive's archive_entry_copy_mac_metadata() function can lead to a denial of service or potential information disclosure. This occurs because an internal buffer is deallocated before data copying completes, allowing an attacker supplying crafted input to crash the application or read uninitialized memory. The issue affects versions prior to 3.7.1-14.oe2403sp3 and has a low severity rating.