Double Free Vulnerability in iPadOS/macOS Memory Manager (fixed in 17.7.7/13.7.6/15.5/14.7.6)
CVE-2025-31235 Published on May 12, 2025
A double free issue was addressed with improved memory management. This issue is fixed in iPadOS 17.7.7, macOS Ventura 13.7.6, macOS Sequoia 15.5, macOS Sonoma 14.7.6. An app may be able to cause unexpected system termination.
Vulnerability Analysis
CVE-2025-31235 can be exploited with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Type
What is a Double-free Vulnerability?
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. When a program calls free() twice with the same argument, the program's memory management data structures become corrupted. This corruption can cause the program to crash or, in some circumstances, cause two later calls to malloc() to return the same pointer. If malloc() returns the same value twice and the program later gives the attacker control over the data that is written into this doubly-allocated memory, the program becomes vulnerable to a buffer overflow attack.
CVE-2025-31235 has been classified to as a Double-free vulnerability or weakness.
Products Associated with CVE-2025-31235
Want to know whenever a new CVE is published for Apple products? stack.watch will email you.
Affected Versions
Apple macOS:- Version unspecified and below 15.5 is affected.
- Version unspecified and below 17.7 is affected.
- Version unspecified and below 14.7 is affected.
- Version unspecified and below 13.7 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.