Skip to content
Server Security Center
KEVhigh8.8

CVE-2023-32373: Apple Multiple Products WebKit Use-After-Free

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

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

CVE-2023-32373 explained

CVE-2023-32373 is a use-after-free 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 are tracked as affected.

Impact

An attacker who gets a user to process maliciously crafted web content, for example by opening it in an application that uses an affected WebKit engine, may achieve arbitrary code execution. The attack works over the network, needs no privileges and has low complexity, but requires user interaction. Successful exploitation can fully compromise confidentiality, integrity and availability. The issue may have been actively exploited.

Who is affected

Fixed: webkit2gtk in Debian 12 (bookworm) (2.40.2-1~deb12u1) and Ubuntu 22.04 LTS (2.40.4-0ubuntu0.22.04.1). No fixed version is published for wpewebkit (Debian 12, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS), qtwebkit-opensource-src (Ubuntu 18.04, 20.04, 22.04, 24.04 LTS), qtwebkit-source and webkitgtk (Ubuntu 16.04 and 18.04 LTS), or webkit2gtk on Ubuntu 16.04, 18.04 and 20.04 LTS. Ubuntu 16.04 LTS is end of life; 18.04 and 20.04 LTS receive fixes only with Ubuntu Pro (ESM).

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

Official description

A use-after-free issue was addressed with improved memory management.

This issue is fixed in watchOS 9.5, tvOS 16.5, macOS Ventura 13.4, iOS 15.7.6 and iPadOS 15.7.6, Safari 16.5, iOS 16.5 and iPadOS 16.5. 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 macOS
    Affected
    • < 13.4
    Fixed in
    • 13.4
  • Apple Safari
    Affected
    • < 16.5
    Fixed in
    • 16.5
  • Apple watchOS
    Affected
    • < 9.5
    Fixed in
    • 9.5
  • Apple iOS and iPadOS
    Affected
    • < 15.7.6
    • < 16.5
    Fixed in
    • 15.7.6
    • 16.5

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

  • Apple tvOS
    Affected
    • < 16.5
    Fixed in
    • 16.5

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 Debian 12 and Ubuntu 22.04 LTS, update webkit2gtk to the fixed version or later.
  2. Restart applications that use WebKit, such as browsers and email clients, so they load the fixed library.
  3. On Ubuntu 18.04 and 20.04 LTS, enable Ubuntu Pro (ESM) and watch for fixed packages there.
  4. Upgrade systems running Ubuntu 16.04 LTS to a supported release.
  5. Track the distribution advisories for wpewebkit and qtwebkit-opensource-src, and install fixes once published.

Where no fixed package exists, avoid opening untrusted web content in applications built on the affected WebKit packages. Remove wpewebkit, qtwebkit-opensource-src, qtwebkit-source or webkitgtk if nothing depends on them. Prefer a patched engine such as updated webkit2gtk where possible. Do not wait for fixes on Ubuntu 16.04 LTS; upgrade it to a supported release.

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/HT213758
  • 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-416 Use After Free

Questions about CVE-2023-32373

Is this vulnerability being exploited?
Apple is aware of a report that the issue may have been actively exploited. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-05-22, with the required action to apply updates per vendor instructions.
Do I need to reboot after updating?
A reboot is not strictly required, but every application using the WebKit library keeps running the old code until it is restarted. Restart browsers, mail clients and other WebKit-based programs after updating.
Why is there no fix for my Ubuntu 18.04 or 20.04 system?
Standard support for these releases has ended, so fixes are only delivered through Ubuntu Pro (ESM). The facts list no fixed version for the affected packages on these releases yet.

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.