---
id: CVE-2026-20687
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.7.7 and iPadOS 18.7.7, iOS 26.4 and iPadOS 26.4,
  macOS Sequoia 15.7.5, macOS Tahoe 26.4, tvOS 26.4, watchOS 26.4. An app may be
  able to c…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'
cvssSource: adp
vendor: Apple
product: iOS and iPadOS
affected:
  - ios_and_ipados < 18.7.7
  - ios_and_ipados < 26.4
  - macOS < 15.7.5
  - macOS < 26.4
  - tvOS < 26.4
  - watchOS < 26.4
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-03-25T17:52:43.343567Z'
exploitAvailable: true
published: '2026-03-25'
updated: '2026-10-26'
sourceUpdated: '2026-10-26T20:44:12.894Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-20687'
references:
  - url: 'https://support.apple.com/en-us/126792'
  - url: 'https://support.apple.com/en-us/126793'
  - url: 'https://support.apple.com/en-us/126794'
  - url: 'https://support.apple.com/en-us/126795'
  - url: 'https://support.apple.com/en-us/126797'
  - url: 'https://support.apple.com/en-us/126798'
tags:
  - cve.org
  - exploit-available
epss: 0.00348
epssPercentile: 0.28191
exploits:
  github: 2
  githubRepos:
    - 'https://github.com/0xjohnnydev/CVE-2026-20687-AppleJPEGDriver-UAF'
    - 'https://github.com/enfilade-labs/CVE-2026-20687-AppleJPEGDriver-UAF'
  checkedAt: '2026-10-27T16:12:35.806Z'
ingestedAt: '2026-10-27T16:11:59.099Z'
---

## Overview

A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.7.7 and iPadOS 18.7.7, iOS 26.4 and iPadOS 26.4, macOS Sequoia 15.7.5, macOS Tahoe 26.4, tvOS 26.4, watchOS 26.4. An app may be able to cause unexpected system termination or write kernel memory.

## Affected

- `ios_and_ipados < 18.7.7`
- `ios_and_ipados < 26.4`
- `macOS < 15.7.5`
- `macOS < 26.4`
- `tvOS < 26.4`
- `watchOS < 26.4`

## Remediation

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