CoreMedia: Parsing a file may lead to an unexpected app termination (CVE-2025-31239)
A use-after-free memory bug in CoreMedia could cause an app to terminate unexpectedly when parsing a crafted file. An attacker could exploit this to crash the app, but the text does not claim code execution or data theft.
Originally disclosed on Apple
Impact: Parsing a file may lead to an unexpected app termination
Description: A use-after-free issue was addressed with improved memory management.
Available for: iPhone XS and later, iPad Pro 13-inch, iPad Pro 12.9-inch 3rd generation and later, iPad Pro 11-inch 1st generation and later, iPad Air 3rd generation and later, iPad 7th 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 a memory management flaw where an object was freed but still referenced during file parsing.
What the attacker needed
Victim opens a 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.
A use-after-free happens when a program frees memory but keeps using it, which can make the app crash. Here, opening a specially made file could cause the app to close suddenly. The report does not say an attacker could do more than crash the app.
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.