Apple Safari Issue via Malicious Web Content (Fixed in 18.6)
CVE-2025-31277 Published on July 30, 2025
The issue was addressed with improved memory handling. This issue is fixed in Safari 18.6, iOS 18.6 and iPadOS 18.6, macOS Sequoia 15.6, tvOS 18.6, visionOS 2.6, watchOS 11.6. Processing maliciously crafted web content may lead to memory corruption.
Known Exploited Vulnerability
This Apple Multiple Products Buffer Overflow Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. Apple Safari, iOS, watchOS, visionOS, iPadOS, macOS, and tvOS contain a buffer overflow vulnerability that could allow the processing of maliciously crafted web content which may lead to memory corruption.
The following remediation steps are recommended / required by April 3, 2026: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Vulnerability Analysis
CVE-2025-31277 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Types
What is a Buffer Overflow Vulnerability?
The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.
CVE-2025-31277 has been classified to as a Buffer Overflow vulnerability or weakness.
What is a Classic Buffer Overflow Vulnerability?
The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. A buffer overflow condition exists when a program attempts to put more data in a buffer than it can hold, or when a program attempts to put data in a memory area outside of the boundaries of a buffer. The simplest type of error, and the most common cause of buffer overflows, is the "classic" case in which the program copies the buffer without restricting how much is copied. Other variants exist, but the existence of a classic overflow strongly suggests that the programmer is not considering even the most basic of security protections.
CVE-2025-31277 has been classified to as a Classic Buffer Overflow vulnerability or weakness.
Products Associated with CVE-2025-31277
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-31277 are published in these products:
Affected Versions
Apple Safari:- Before 18.6 is affected.
- Before 18.6 is affected.
- Before 15.6 is affected.
- Before 18.6 is affected.
- Before 2.6 is affected.
- Before 11.6 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.