CoreGraphics: Processing a maliciously crafted file may lead to a denial-of-service or potentially disclose memory contents (CVE-2025-31196)
An out-of-bounds read in CoreGraphics could be triggered by processing a maliciously crafted file, leading to a denial-of-service or potential disclosure of memory contents. The issue was addressed with improved input validation.
Impact: Processing a maliciously crafted file may lead to a denial-of-service or potentially disclose memory contents
Description: An out-of-bounds read was addressed with improved input validation.
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 insufficient input validation in CoreGraphics when parsing a crafted file, leading to an out-of-bounds read.
What the attacker needed
Maliciously crafted file; target runs vulnerable iOS/iPadOS
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.
CoreGraphics is a system component that handles images and graphics on Apple devices. An out-of-bounds read means the software reads memory it should not, which can crash the app or leak sensitive data. A malicious file could exploit this to cause a denial-of-service or expose memory contents.
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.