Skip to content
Memory corruption Advisory Advanced CVE-2025-31206

WebKit: Processing maliciously crafted web content may lead to an unexpected Safari crash (CVE-2025-31206)

A type confusion flaw in WebKit could cause Safari to crash when processing maliciously crafted web content. The issue was addressed with improved state handling.

Yuhao Hu Follow

Originally disclosed on Apple

Impact: Processing maliciously crafted web content may lead to an unexpected Safari crash

Description: A type confusion issue was addressed with improved state handling.

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

The original report as published on Apple's security release notes, by Yuhao Hu. 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 a type confusion error where the browser misinterprets the type of an object due to improper state handling.

What the attacker needed

Victim opens malicious web content

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 type confusion bug means the browser's code can mistake one kind of data for another, which can make it behave unpredictably. Here, opening a specially made web page could make Safari crash. The problem was fixed by improving how the browser keeps track of its internal state.

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 by Yuhao Hu

View all

5 more disclosed reports, best first.

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.