CVE-2023-42917: Apple Multiple Products WebKit Memory Corruption
Apple Multiple Products · listed in the CISA catalog of actively exploited vulnerabilities since 2023-12-04.
- CVSS v3.1 (CVE record)
- 8.8
- high
- EPSS (exploit probability, 30 days)
- 9.3%
- higher than 95.4% of all CVEs
- Added to CISA KEV
- 2023-12-04
- US federal due date 2023-12-25
- Ubuntu priority
- medium
CVE-2023-42917 explained
CVE-2023-42917 is a memory corruption flaw in WebKit that Apple fixed with improved locking. Processing malicious web content may lead to arbitrary code execution. Apple is aware of a report that it may have been exploited, and CISA lists it as a known exploited vulnerability. On Linux, WebKit-based packages such as webkit2gtk and wpewebkit are tracked as affected.
Impact
An attacker who gets a user to process crafted web content may execute arbitrary code. The attack works over the network, needs no privileges and has low complexity, but requires user interaction, such as opening a page in an application that uses an affected WebKit engine. Successful exploitation can fully compromise confidentiality, integrity and availability within the affected application's context. Apple reported possible exploitation against iOS versions before iOS 16.7.1.
Who is affected
Fixed webkit2gtk versions exist for Debian 12 (bookworm) (2.42.3-1~deb12u1), Ubuntu 22.04 LTS (2.42.3-0ubuntu0.22.04.1) and Ubuntu 24.04 LTS (2.42.3-1). No fixed version is published for wpewebkit on Debian 12, Ubuntu 20.04 LTS and 22.04 LTS, or for qtwebkit-opensource-src on Ubuntu 20.04, 22.04 and 24.04 LTS. On Ubuntu 18.04 LTS and 20.04 LTS, no fix is published for any listed package. Ubuntu 16.04 LTS is end of life and has no fixes.
Written with AI from the data on this page and checked against it automatically.
Official description
A memory corruption vulnerability was addressed with improved locking.
This issue is fixed in iOS 17.1.2 and iPadOS 17.1.2, macOS Sonoma 14.1.2, Safari 17.1.2. Processing web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been exploited against versions of iOS before iOS 16.7.1.
CISA required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
CISA notes
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- Apple SafariAffectedFixed in
- < 17.1.2
- 17.1.2
Fixed versions corrected from the CNA description (record lists truncated bounds).
- Apple macOSAffectedFixed in
- < 14.1.2
- 14.1.2
Fixed versions corrected from the CNA description (record lists truncated bounds).
- Apple iOS and iPadOSAffectedFixed in
- < 17.1.2
- 17.1.2
Fixed versions corrected from the CNA description (record lists truncated bounds).
| Product | Affected | Fixed in |
|---|---|---|
| Apple SafariFixed versions corrected from the CNA description (record lists truncated bounds). |
|
|
| Apple macOSFixed versions corrected from the CNA description (record lists truncated bounds). |
|
|
| Apple iOS and iPadOSFixed 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.
Ubuntu 24.04 LTS·qtwebkit-opensource-src
Status: no fixed version published · Ubuntu tracker
Ubuntu 24.04 LTS·webkit2gtk
Fixed: 2.42.3-1
Ubuntu 22.04 LTS·qtwebkit-opensource-src
Status: no fixed version published · Ubuntu tracker
Ubuntu 22.04 LTS·webkit2gtk
Fixed: 2.42.3-0ubuntu0.22.04.1
Ubuntu 22.04 LTS·wpewebkit
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·qtwebkit-opensource-src
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·webkit2gtk
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·wpewebkit
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·qtwebkit-opensource-src
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·qtwebkit-source
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·webkit2gtk
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·webkitgtk
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 16.04 LTS·qtwebkit-opensource-src
ESM ended
Status: no fixed version published · Ubuntu tracker
Ubuntu 16.04 LTS·qtwebkit-source
ESM ended
Status: no fixed version published · Ubuntu tracker
Ubuntu 16.04 LTS·webkit2gtk
ESM ended
Status: no fixed version published · Ubuntu tracker
Ubuntu 16.04 LTS·webkitgtk
ESM ended
Status: no fixed version published · Ubuntu tracker
Debian 12 (bookworm)·webkit2gtk
Fixed: 2.42.3-1~deb12u1
Debian 12 (bookworm)·wpewebkit
Status: no fixed version published · Debian tracker
What to do
- Update
webkit2gtkto the fixed version for your release: Debian 12, Ubuntu 22.04 LTS or Ubuntu 24.04 LTS. - Restart applications that use WebKit, such as browsers and email clients, so they load the patched library.
- Check whether
wpewebkit,qtwebkit-opensource-srcorqtwebkit-sourceare installed and track the distribution advisory for fixes. - Upgrade systems running Ubuntu 16.04 LTS to a supported release.
- On Ubuntu 18.04 LTS and 20.04 LTS, plan an upgrade to a supported release, since no fix is published for these packages.
Where no fixed package exists, remove unused WebKit-based packages and avoid using affected applications to open untrusted web content. Limit network exposure of systems that must keep them. Monitor the Debian and Ubuntu advisories for fixed versions on supported releases. Ubuntu 16.04 LTS is end of life and should be upgraded rather than waiting for a fix.
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" ;; esac3. 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 2 releases
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/HT214033
- 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-42917
- Is this vulnerability being exploited?
- Apple is aware of a report that it may have been exploited against iOS versions before iOS 16.7.1. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-12-04. Ransomware use is listed as unknown.
- Do I need to reboot after updating
webkit2gtk? - A reboot is not strictly required because this is not a kernel fix. However, any running application using WebKit keeps the old code until it is restarted, so restart those applications after updating.
- My release shows no fixed version. What should I do?
- On supported releases, watch for a distribution update and reduce use of the affected package with untrusted content. Ubuntu 16.04 LTS is end of life and should be upgraded. For Ubuntu 18.04 LTS and 20.04 LTS, no fix is published for the listed packages.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
Other advisories
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.