CVE-2025-31257 Memory corruption in Safari

Medium 4.7 Published Updated

Attackers can cause an unexpected Safari crash by processing maliciously crafted web content due to improper memory handling.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-31257?

CVE-2025-31257 is a medium-severity memory corruption vulnerability in Apple Ipados, published on 12 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

This issue was addressed with improved memory handling. This issue is fixed in Safari 18.5, iOS 18.5 and iPadOS 18.5, macOS Sequoia 15.5, tvOS 18.5, visionOS 2.5, watchOS 11.5. Processing maliciously crafted web content may lead to an unexpected Safari crash.

Weakness: CWE-119

Which versions are affected by CVE-2025-31257?

It affects 7 products.

Products include Apple Ipados, Apple Iphone Os, Apple Macos, Apple Safari, Apple Tvos, Apple Visionos and 1 more.

How do I fix CVE-2025-31257?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-31257 being exploited?

There is no known exploitation of CVE-2025-31257 in the wild and no public exploit code.

All Apple Ipados vulnerabilities

Sources

Also known as BELL-CVE-2025-31257, CLSA-2025-1752922014, DEBIAN-CVE-2025-31257, GHSA-289j-qjv7-62fr, UBUNTU-CVE-2025-31257.

Is CVE-2025-31257 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free