CVE-2025-31222: Double Free

Published May 12, 2025
·
Updated

A correctness issue was addressed with improved checks. This issue is fixed in iOS 18.5 and iPadOS 18.5, macOS Sequoia 15.5, macOS Sonoma 14.7.6, macOS Ventura 13.7.6, tvOS 18.5, visionOS 2.5, watchOS 11.5. A user may be able to elevate privileges.

Other sources

afpfs. The issue was addressed with improved memory handling.

— Apple

afpfs. This issue was addressed with improved checks.

— Apple

Apple Intelligence Reports. A permissions issue was addressed with additional restrictions.

— Apple

AppleJPEG. The issue was addressed with improved input sanitization.

— Apple

Audio. A double free issue was addressed with improved memory management.

— Apple

Credit

Hossein Lotfi@@hosselot(Trend Micro Zero Day Initiative), 秦若涵, 崔志伟, 崔宝江, Deval Jariwala, Guilherme Rambo(Best Buddy Apps), Dalibor Milanovic, Andrew James Gonzalez, CVE-2024-8176, Saagar Jha, Dayton Pidhirney(Atredis Partners), Lyutoon, YenKoc, Tony Iskow@@Tybbow, YingQi Shi@@Mas0nShi(DBAppSecurity's WeBin lab), Duy Trần@@khanhduytran0, Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), Lucas Leong@@_wmliang_(Trend Micro Zero Day Initiative), Paweł Płatek (Trail(Bits), Richard Hyunho Im@@richeeta, Christian Kohlschütter, Joseph Ravichandran@@0xjprx(MIT CSAIL), Thomas Völkl@@vollkorntomate, SEEMOO, TU Darmstadt, Dave G., Dillon Franke(Google Project Zero), wac(Trend Micro Zero Day Initiative), Kirin@@Pwnrin(Fudan University), LFY@@secsys(Fudan University), an anonymous researcher, Bohdan Stasiuk@@bohdan_stasiuk, Mateusz Krzywicki@@krzywix, Csaba Fitzl@@theevilbit(Kandji), Lyutoon(Atredis Partners), YenKoc(Atredis Partners), Apple, Google Threat Analysis Group

Affected Software

16 affected componentsFixes available
Apple macOS Ventura<13.7.6
13.7.6
Apple macOS Sequoia<15.5
15.5
Apple macOS Sonoma<14.7.6
14.7.6
Apple tvOS<18.5
18.5
Apple visionOS<2.5
2.5
Apple iOS<18.5
18.5
Apple iPadOS<18.5
18.5
Apple WatchOS<11.5
11.5
Apple iPadOS<18.5
Apple iPhone OS<18.5
Apple macOS<13.7.6
Apple macOS>=14.0<14.7.6
Apple macOS>=15.0<15.5
Apple tvOS<18.5
Apple visionOS<2.5
Apple WatchOS<11.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.5
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.5
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 13.7.6
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.7.6
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.5
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 11.5

Event History

May 12, 2025
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
Affected Software
CVE Published
via MITRE·09:42 PM
Data Sourced
via MITRE·09:42 PM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
Description
May 13, 2025
Data Sourced
via NVD·02:15 PM
SeverityWeakness
May 27, 2025
Data Sourced
via NVD·09:28 PM
Affected Software
Jul 29, 2025
Updated
via Apple·12:00 AM
Affected Software
Nov 3, 2025
Updated
via NVD·08:18 PM
Affected Software
Apr 2, 2026
Updated
via MITRE·06:11 PM
Description
Updated
via NVD·07:19 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-31222?

The CVE-2025-31222 vulnerability is considered to have a critical severity due to its potential impact on system security.

2

How do I fix CVE-2025-31222?

To fix CVE-2025-31222, ensure that your devices are updated to the latest version of macOS, iOS, iPadOS, watchOS, tvOS, or visionOS as specified in the vulnerability details.

3

What products are affected by CVE-2025-31222?

CVE-2025-31222 affects several Apple products including macOS Ventura, macOS Sequoia, macOS Sonoma, tvOS, visionOS, iOS, iPadOS, and watchOS.

4

What type of vulnerability is CVE-2025-31222?

CVE-2025-31222 is a memory handling vulnerability that can lead to potential exploitation if not patched.

5

Is there a workaround for CVE-2025-31222?

There is no known workaround for CVE-2025-31222; updating to the latest software version is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203