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

libxml2: Processing a file may lead to memory corruption (CVE-2025-7425)

A memory corruption flaw exists in the libxml2 library, which is used by Apple software. An attacker could potentially exploit this by processing a malicious file, leading to memory corruption.

Sergei Glazunov Follow

Originally disclosed on Apple

Impact: Processing a file may lead to memory corruption

Description: This is a vulnerability in open source code and Apple Software is among the affected projects. The CVE-ID was assigned by a third party. Learn more about the issue and CVE-ID at cve.org .

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 Sergei Glazunov of Google Project Zero. 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 memory corruption bug in libxml2 when parsing a crafted file, but the text does not specify the exact mistake.

What the attacker needed

Processing 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 bug in a common piece of software called libxml2, which helps programs read XML files. If a program uses this library to open a specially crafted file, it might crash or behave unexpectedly because of a memory error. The report is very brief and does not give details on how to trigger 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 by Sergei Glazunov

View all

3 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.