libarchive: Processing a maliciously crafted file may lead to unexpected app termination (CVE-2026-112522)
A memory handling flaw in the libarchive library could cause an out-of-bounds write when a crafted file is processed. An attacker could use such a file to make an affected app terminate unexpectedly.
Impact: Processing a maliciously crafted file may lead to unexpected app termination
Description: An out-of-bounds write issue 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 a missing or insufficient bounds check before writing to a memory buffer while parsing an archive.
What the attacker needed
Processing a maliciously crafted file
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.
libarchive is a piece of software that many apps use to open compressed files and archives. This bug meant that a specially made file could make the app write data past the end of a memory buffer, which can crash it. The fix adds checks so the app stays within the buffer's limits.
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.