Skip to content
Server Security Center
KEVhigh8.8

CVE-2023-32439: Apple Multiple Products WebKit Type Confusion

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)
24%
higher than 97.8% of all CVEs
Added to CISA KEV
2023-06-23
US federal due date 2023-07-14
Ubuntu priority
medium

CVE-2023-32439 explained

CVE-2023-32439 is a type confusion flaw in WebKit. Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that it may have been actively exploited, and CISA lists it in its Known Exploited Vulnerabilities catalog. On Linux, WebKit-based packages such as webkit2gtk, wpewebkit and the QtWebKit sources are tracked as affected.

Impact

An attacker who gets a user to process maliciously crafted web content may achieve arbitrary code execution. The attack works over the network, needs no privileges and has low complexity, but it requires user interaction, such as opening a page in an application that uses an affected WebKit engine. Successful exploitation can have a high impact on confidentiality, integrity and availability. Exploitation has reportedly occurred.

Who is affected

Debian 12 (bookworm): webkit2gtk is fixed in 2.40.3-2~deb12u1. wpewebkit has no fixed version published. Ubuntu 22.04 LTS: webkit2gtk is fixed in 2.40.4-0ubuntu0.22.04.1. qtwebkit-opensource-src and wpewebkit have no fix. Ubuntu 24.04 LTS: qtwebkit-opensource-src has no fix. Ubuntu 20.04 LTS and 18.04 LTS (Ubuntu Pro (ESM) only) list several WebKit packages with no fixed version published. Ubuntu 16.04 LTS is end of life, and its packages are unfixed.

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

Official description

A type confusion issue was addressed with improved checks.

This issue is fixed in iOS 16.5.1 and iPadOS 16.5.1, iOS 15.7.7 and iPadOS 15.7.7, macOS Ventura 13.4.1, Safari 16.5.1. Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been actively exploited.

Upstream versions (CVE record)

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

  • Apple iOS and iPadOS
    Affected
    • < 15.7.7
    • < 16.5.1
    Fixed in
    • 15.7.7
    • 16.5.1

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

  • Apple Safari
    Affected
    • < 16.5.1
    Fixed in
    • 16.5.1

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

  • Apple macOS
    Affected
    • < 13.4.1
    Fixed in
    • 13.4.1

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

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. Update webkit2gtk to 2.40.3-2~deb12u1 on Debian 12 or 2.40.4-0ubuntu0.22.04.1 on Ubuntu 22.04 LTS.
  2. Restart applications that use WebKit so they load the patched library.
  3. Find out which unfixed WebKit packages, such as wpewebkit or the QtWebKit sources, are installed and which applications depend on them.
  4. Upgrade systems running Ubuntu 16.04 LTS to a supported release.
  5. On Ubuntu 18.04 LTS and 20.04 LTS, enable Ubuntu Pro (ESM) to receive fixes when they are published, or plan an upgrade.

Where no fixed package exists, avoid opening untrusted web content in applications built on the affected WebKit packages. Remove unneeded WebKit packages and the applications that use them. Where possible, move users to a component that has a fix. Watch the distribution advisories and apply updates as soon as they appear. Upgrade end-of-life releases instead of 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 3 releases

Ubuntu 24.04 LTS, Ubuntu 20.04 LTS, Ubuntu 18.04 LTS: 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/HT213811
  • 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-843 Access of Resource Using Incompatible Type ('Type Confusion')

Questions about CVE-2023-32439

Is this vulnerability being exploited?
Apple is aware of a report that it may have been actively exploited. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-06-23, with the required action to apply updates per vendor instructions.
Does this affect Linux servers without a desktop?
Only if an affected WebKit package, such as webkit2gtk, wpewebkit or a QtWebKit package, is installed and processes web content. Exploitation requires that crafted web content is processed, which usually involves user interaction.
Do I need to reboot after updating?
A reboot is not required for a library update. Applications that use WebKit keep running the old code until they are restarted, so restart them, or log users out and back in.

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.