libarchive: Processing a maliciously crafted file may lead to unexpected app termination (CVE-2026-86870)
A heap buffer overflow existed in the libarchive library when processing a crafted file. An attacker could cause an app to terminate unexpectedly by supplying such a file.
Originally disclosed on Apple
Impact: Processing a maliciously crafted file may lead to unexpected app termination
Description: A heap buffer overflow was addressed with improved bounds checking.
Available for: iPhone 11 and later, iPad Pro 12.9-inch 4th generation and later, iPad Pro 11-inch 2nd generation and later, iPad Air 4th generation and later, iPad 9th generation and later, and iPad mini 6th generation and later
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the library did not properly check the size of data before copying it into a heap buffer.
What the attacker needed
A crafted file; an app that uses libarchive
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A heap buffer overflow is when a program writes more data into a memory area than it was sized for, which can crash it. Here, opening a specially made file could make an app using the libarchive library stop working. The fix makes the program check the size of the data before writing it.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.