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.

NVD

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.

Attack Vector:
LOCAL
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE
Scope:
CHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

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: Apple iPadOS: Apple macOS: Apple macOS:

Exploit Probability

EPSS
0.03%
Percentile
6.69%

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.