Skip to content
Memory corruption Advisory Advanced CVE-2026-86870

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.

Kitten Food Follow

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

The original report as published on Apple's security release notes, by Kitten Food. Images and videos are our own copies; raw HTML is shown as text. View it on Apple's security release notes.

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.

More from Apple

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.