AppleJPEG: Processing a file may lead to memory corruption (CVE-2025-43539)
A memory corruption issue existed in AppleJPEG when processing a file. An attacker could potentially exploit this by providing a malicious file, leading to memory corruption.
Originally disclosed on Apple
Impact: Processing a file may lead to memory corruption
Description: The issue was addressed with improved bounds checks.
Available for: iPhone 11 and later, iPad Pro 12.9-inch 3rd generation and later, iPad Pro 11-inch 1st generation and later, iPad Air 3rd generation and later, iPad 8th generation and later, and iPad mini 5th 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 insufficient bounds checking when parsing JPEG files, allowing out-of-bounds memory access.
What the attacker needed
Victim processes a malicious 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.
This is a security flaw in Apple's JPEG image processing code. If someone opens a specially crafted image file, it could cause the device's memory to be corrupted, which might crash apps or allow further attacks. Apple fixed it by adding better checks on how much data is read.
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.