Skip to content
Server Security Center
KEVhigh8.8

CVE-2023-32435: Apple Multiple Products WebKit Memory Corruption

Apple Multiple Products · listed in the CISA catalog of actively exploited vulnerabilities since 2023-06-23.

CVSS v3.1 (CVE record)
8.8
high
EPSS (exploit probability, 30 days)
23%
higher than 97.7% of all CVEs
Added to CISA KEV
2023-06-23
US federal due date 2023-07-14
Ubuntu priority
medium

CVE-2023-32435 explained

CVE-2023-32435 is a memory corruption flaw in WebKit, fixed by Apple with improved state management. Processing malicious web content may lead to arbitrary code execution. Apple is aware of a report of possible active exploitation against older iOS versions, and CISA lists it as known exploited. Linux WebKit-based packages in Ubuntu and Debian are tracked as affected.

Impact

An attacker who gets a user to process crafted web content may run arbitrary code with the privileges of the application using WebKit. The attack works over the network, needs no privileges and has low complexity, but requires user interaction, such as opening a page. Successful exploitation can fully compromise confidentiality, integrity and availability within the affected application's context.

Who is affected

On Ubuntu 22.04 LTS, webkit2gtk is fixed in 2.40.4-0ubuntu0.22.04.1. qtwebkit-opensource-src and wpewebkit on 22.04 have no fixed version. On Ubuntu 24.04 LTS, qtwebkit-opensource-src has no fix. Ubuntu 18.04 LTS and 20.04 LTS packages (qtwebkit-opensource-src, qtwebkit-source, webkit2gtk, webkitgtk, wpewebkit) have no fixed version. Ubuntu 16.04 LTS is end of life and unfixed. Debian 12 (bookworm) wpewebkit has no fixed version.

Written with AI from the data on this page and checked against it automatically.

Official description

A memory corruption issue was addressed with improved state management.

This issue is fixed in macOS Ventura 13.3, Safari 16.4, iOS 16.4 and iPadOS 16.4, iOS 15.7.7 and iPadOS 15.7.7. Processing web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been actively exploited against versions of iOS released before iOS 15.7.

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • Apple macOS
    Affected
    • < 13.3
    Fixed in
    • 13.3
  • Apple iOS and iPadOS
    Affected
    • < 15.7.7
    • < 16.4
    Fixed in
    • 15.7.7
    • 16.4

    Fixed versions corrected from the CNA description (record lists truncated bounds).

  • Apple Safari
    Affected
    • < 16.4
    Fixed in
    • 16.4

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. On Ubuntu 22.04 LTS, update webkit2gtk to 2.40.4-0ubuntu0.22.04.1 or later.
  2. Restart applications that use WebKit so they load the updated libraries.
  3. Upgrade systems still running Ubuntu 16.04 LTS to a supported release.
  4. On Ubuntu 18.04 LTS and 20.04 LTS, enable Ubuntu Pro (ESM) and check for fixes, or upgrade to a supported release.
  5. Watch the Ubuntu and Debian advisories for fixes to the remaining unfixed packages.

Where no fixed package exists, limit use of WebKit-based applications to trusted web content. Remove unused packages such as qtwebkit-opensource-src or wpewebkit if nothing depends on them. Avoid opening untrusted links in affected applications. Apply updates as soon as they are published, and upgrade end-of-life releases such as Ubuntu 16.04 LTS rather than waiting for fixes.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace webkit2gtk with the source package from the table above (this CVE affects 5 source packages).

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="webkit2gtk"'

2. Compare each installed version with the fixed version for your release from the table (releases with a fixed version only)

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="webkit2gtk"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

No fixed version yet on 4 releases

Ubuntu 24.04 LTS, Ubuntu 20.04 LTS, Ubuntu 18.04 LTS, Debian 12 (bookworm): no fixed version of the affected packages yet, so every installed version there is affected. Until a fix is published:

  • Follow the vendor's advisory for a mitigation or patch: support.apple.com/en-us/HT213670
  • If the server does not need the package, remove it, or replace it with a maintained alternative.
  • Restrict exposure: keep the affected service off the internet, limit access with a firewall or VPN, and turn off the vulnerable feature where you can.

This page updates automatically when Ubuntu or Debian publish a fix.

Ubuntu 16.04 LTS has reached end of life and no longer gets regular security fixes – upgrade to a supported release.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-787 Out-of-bounds Write

Questions about CVE-2023-32435

Is this vulnerability being exploited?
Apple is aware of a report that it may have been actively exploited against iOS versions released before iOS 15.7. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-06-23. Known ransomware use is listed as unknown.
Why does an Apple bug affect Linux packages?
The flaw is in WebKit, the web engine also packaged on Linux as webkit2gtk, wpewebkit, qtwebkit-opensource-src and related source packages. Ubuntu and Debian track these packages as affected.
Do I need to reboot after updating?
A reboot is not required, since this is not a kernel fix. Restart any applications using WebKit so they stop running the old, vulnerable code.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.