---
id: CVE-2025-31239
title: A use-after-free issue was addressed with improved memory management
summary: >-
  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. P…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cvssSource: adp
vendor: Apple
product: iOS and iPadOS
affected:
  - ios_and_ipados < 18.5
  - iPadOS < 17.7.7
  - macOS < 13.7.6
  - macOS < 14.7.6
  - macOS < 15.5
  - tvOS < 18.5
  - visionOS < 2.5
  - watchOS < 11.5
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2025-08-22T03:55:41.231545Z'
published: '2025-05-12'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T22:02:58.238Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-31239'
references:
  - url: 'https://support.apple.com/en-us/122404'
  - url: 'https://support.apple.com/en-us/122405'
  - url: 'https://support.apple.com/en-us/122716'
  - url: 'https://support.apple.com/en-us/122717'
  - url: 'https://support.apple.com/en-us/122718'
  - url: 'https://support.apple.com/en-us/122720'
  - url: 'https://support.apple.com/en-us/122721'
  - url: 'https://support.apple.com/en-us/122722'
tags:
  - cve.org
epss: 0.00683
epssPercentile: 0.52669
ingestedAt: '2026-11-05T20:33:06.552Z'
---

## Overview

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.

## Affected

- `ios_and_ipados < 18.5`
- `iPadOS < 17.7.7`
- `macOS < 13.7.6`
- `macOS < 14.7.6`
- `macOS < 15.5`
- `tvOS < 18.5`
- `visionOS < 2.5`
- `watchOS < 11.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
