CVE-2022-22620: Apple iOS, iPadOS, and macOS Webkit Use-After-Free
Apple iOS, iPadOS, and macOS · listed in the CISA catalog of actively exploited vulnerabilities since 2022-02-11.
- CVSS v3.1 (CVE record)
- 8.8
- high
- EPSS (exploit probability, 30 days)
- 16%
- higher than 97% of all CVEs
- Added to CISA KEV
- 2022-02-11
- US federal due date 2022-02-25
- Ubuntu priority
- medium
CVE-2022-22620 explained
CVE-2022-22620 is a use-after-free flaw in WebKit, the web engine used by Apple products and by Linux packages such as webkit2gtk. 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 as a known exploited vulnerability.
Impact
A remote attacker who gets a user to process crafted web content, for example by opening a page in an application that uses an affected WebKit engine, may run arbitrary code. No privileges are needed, but user interaction is required. Successful exploitation can fully compromise confidentiality, integrity and availability within the context of the affected application.
Who is affected
On Ubuntu 20.04 LTS, webkit2gtk is fixed in 2.34.6-0ubuntu0.20.04.1. On Ubuntu 22.04 LTS, it is fixed in 2.35.90-1ubuntu1. No fixed version is published for qtwebkit-opensource-src (20.04, 22.04, 24.04), wpewebkit (20.04, 22.04), or any listed package on 18.04 LTS. Ubuntu 16.04 LTS is end of life, with no fixes for qtwebkit-opensource-src, qtwebkit-source, webkit2gtk or webkitgtk. Ubuntu 18.04 and 20.04 receive further fixes only through 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 macOS Monterey 12.2.1, iOS 15.3.1 and iPadOS 15.3.1, Safari 15.3 (v. 16612.4.9.1.8 and 15612.4.9.1.8). 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..
CISA required action: Apply updates per vendor instructions.
CISA notes
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- Apple Safari (v and )AffectedFixed in
- < 15.3
- 15.3
- Apple macOSAffectedFixed in
- < 12.2.1
- < 15.3
- 12.2.1
- 15.3
Fixed versions corrected from the CNA description (record lists truncated bounds).
| Product | Affected | Fixed in |
|---|---|---|
| Apple Safari (v and ) |
|
|
| Apple macOSFixed 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 22.04 LTS·qtwebkit-opensource-src
Status: no fixed version published · Ubuntu tracker
Ubuntu 22.04 LTS·webkit2gtk
Fixed: 2.35.90-1ubuntu1
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
Fixed: 2.34.6-0ubuntu0.20.04.1
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
What to do
- Update
webkit2gtkto2.34.6-0ubuntu0.20.04.1on Ubuntu 20.04 LTS or2.35.90-1ubuntu1on Ubuntu 22.04 LTS. - Restart applications that embed WebKit so they load the fixed libraries.
- Inventory systems for
qtwebkit-opensource-src,qtwebkit-source,webkitgtkandwpewebkit, which have no fixed version on the listed releases. - Upgrade Ubuntu 16.04 LTS systems to a supported release.
- On Ubuntu 18.04 and 20.04 LTS, enable Ubuntu Pro (ESM) or upgrade to a supported release to keep receiving fixes.
Where no fixed package exists, limit use of applications built on the unfixed WebKit packages to trusted content. Avoid opening untrusted web content with them. Remove the packages if they are not needed. Track the Ubuntu advisory for updates on supported releases. Upgrade end-of-life Ubuntu 16.04 LTS systems 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" ;; 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 24.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/HT213091
- 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-2022-22620
- 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 2022-02-11. Whether it has been used by ransomware is unknown.
- Do I need to reboot after updating?
- A reboot is not required for this userspace library. Restart any applications that use WebKit so they stop running the old, vulnerable code.
- Why does Ubuntu rate this medium when the CVSS severity is high?
- The CVSS base severity is high. Ubuntu assigns its own priority of medium for its packages. Both ratings are shown; apply available fixes regardless.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
Other advisories
Trackers and catalogs
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.