CVE-2025-31239: Use After Free

Published May 12, 2025
·
Updated

A use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 18.5 and iPadOS 18.5, iPadOS 17.7.7, macOS Sequoia 15.5, macOS Sonoma 14.7.6, macOS Ventura 13.7.6, tvOS 18.5, visionOS 2.5, watchOS 11.5. Parsing a file may lead to an unexpected app termination.

Other sources

afpfs. The issue was addressed with improved memory handling.

— Apple

afpfs. This issue was addressed with improved checks.

— Apple

AirDrop. A permissions issue was addressed with additional restrictions.

— Apple

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

— Apple

AppleJPEG. The issue was addressed with improved input sanitization.

— Apple

Credit

Ron Masas(BREAKPOINT), Hossein Lotfi@@hosselot(Trend Micro Zero Day Initiative), Dillon Franke(Google Project Zero), wac(Trend Micro Zero Day Initiative), 秦若涵, 崔志伟, 崔宝江, Deval Jariwala, Guilherme Rambo(Best Buddy Apps), Joseph Ravichandran@@0xjprx(MIT CSAIL), Thomas Völkl@@vollkorntomate, SEEMOO, TU Darmstadt, Dave G., Apple, Google Threat Analysis Group

Affected Software

18 affected componentsFixes available
Apple macOS Sonoma<14.7.6
14.7.6
Apple macOS Ventura<13.7.6
13.7.6
Apple iPadOS<17.7.7
17.7.7
Apple iOS<18.5
18.5
Apple iPadOS<18.5
18.5
Apple WatchOS<11.5
11.5
Apple macOS Sequoia<15.5
15.5
Apple visionOS<2.5
2.5
Apple tvOS<18.5
18.5
Apple iPadOS<17.7.7
Apple iPadOS>=18.0<18.5
Apple iPhone OS<18.5
Apple macOS>=13.0<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 17.7.7
  2. Upgrade

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

    Fixed in 18.5
  3. Upgrade

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

    Fixed in 15.5
  4. Upgrade

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

    Fixed in 13.7.6
  5. Upgrade

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

    Fixed in 14.7.6
  6. Upgrade

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

    Fixed in 2.5
  7. Upgrade

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

    Fixed in 11.5
  8. Upgrade

    Upgrade iOS/iPadOS to a version that resolves this vulnerability.

    Fixed in 18.5
  9. Upgrade

    Upgrade iPadOS to a version that resolves this vulnerability.

    Fixed in 17.7.7
  10. Upgrade

    Upgrade macOS Sequoia to a version that resolves this vulnerability.

    Fixed in 15.5
  11. Upgrade

    Upgrade macOS Sonoma to a version that resolves this vulnerability.

    Fixed in 14.7.6
  12. Upgrade

    Upgrade tvOS to a version that resolves this vulnerability.

    Fixed in 18.5
  13. Upgrade

    Upgrade visionOS to a version that resolves this vulnerability.

    Fixed in 2.5
  14. Upgrade

    Upgrade watchOS 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 19, 2025
Updated
via Apple·12:00 AM
Affected Software
May 27, 2025
Data Sourced
via NVD·09:26 PM
Affected Software
Jul 29, 2025
Updated
via Apple·12:00 AM
Affected Software
Aug 21, 2025
Updated
via NVD·09:15 PM
SeverityAffected Software
Event
via NVD·09:15 PM
Oct 2, 2025
Updated
via NVD·01:36 AM
Affected Software
Nov 21, 2025
Updated
via Apple·12:00 AM
Affected Software
Apr 2, 2026
Updated
via MITRE·06:09 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-31239?

The severity of CVE-2025-31239 is considered high due to the potential for exploitation leading to unauthorized access.

2

How do I fix CVE-2025-31239?

To fix CVE-2025-31239, upgrade to the latest version of the affected macOS, iOS, or other Apple software as specified in the advisory.

3

What software versions are affected by CVE-2025-31239?

CVE-2025-31239 affects macOS Sonoma 14.7.6, macOS Sequoia 15.5, macOS Ventura 13.7.6, iPadOS 17.7.7, and several other Apple software versions.

4

What types of issues does CVE-2025-31239 address?

CVE-2025-31239 addresses issues related to memory handling and permissions that could lead to security vulnerabilities.

5

Who is the vendor of the products affected by CVE-2025-31239?

The vendor of the products affected by CVE-2025-31239 is Apple.

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