CVE-2021-30952: Apple Multiple Products Integer Overflow or Wraparound
Apple Multiple Products · listed in the CISA catalog of actively exploited vulnerabilities since 2026-03-05.
- CVSS v3.1 (CVE record)
- 7.8
- high
- EPSS (exploit probability, 30 days)
- 7.0%
- higher than 94.2% of all CVEs
- Added to CISA KEV
- 2026-03-05
- US federal due date 2026-03-26
- Ubuntu priority
- medium
CVE-2021-30952 explained
CVE-2021-30952 is an integer overflow in WebKit-based web content processing, fixed by Apple through improved input validation. Processing maliciously crafted web content may lead to arbitrary code execution. On Ubuntu, several WebKit source packages are listed as affected, and CISA lists the flaw in its Known Exploited Vulnerabilities catalog.
Impact
An attacker who gets a user or application to process maliciously crafted web content may execute arbitrary code. The CVSS vector rates it local attack vector, low complexity, no privileges required, and user interaction required. Successful exploitation can give high impact to confidentiality, integrity and availability within the context of the affected process. CISA reports known exploitation; ransomware use is unknown.
Who is affected
Ubuntu 20.04 LTS has a fix for webkit2gtk in 2.34.4-0ubuntu0.20.04.1. No fixed version is published for qtwebkit-opensource-src or wpewebkit on 20.04, 22.04 LTS, or 24.04 LTS (qtwebkit-opensource-src only on 24.04). Ubuntu 18.04 LTS lists qtwebkit-opensource-src, qtwebkit-source, webkit2gtk and webkitgtk without fixes. Ubuntu 16.04 LTS is end of life and lists the same four packages without fixes.
Written with AI from the data on this page and checked against it automatically.
Official description
An integer overflow was addressed with improved input validation. This issue is fixed in tvOS 15.2, macOS Monterey 12.1, Safari 15.2, iOS 15.2 and iPadOS 15.2, watchOS 8.3. Processing maliciously crafted web content may lead to arbitrary code execution.
CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CISA notes
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- Apple watchOSAffectedFixed in
- < 8.3
- 8.3
- Apple iOS and iPadOSAffectedFixed in
- < 15.2
- 15.2
- Apple macOSAffectedFixed in
- < 12.1
- < 15.2
- 12.1
- 15.2
| Product | Affected | Fixed in |
|---|---|---|
| Apple watchOS |
|
|
| Apple iOS and iPadOS |
|
|
| Apple macOS |
|
|
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·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.4-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
- On Ubuntu 20.04 LTS, update
webkit2gtkto2.34.4-0ubuntu0.20.04.1or later. - Restart applications that use WebKit libraries so they load the updated code.
- Identify systems with
qtwebkit-opensource-src,qtwebkit-source,webkitgtkorwpewebkitpackages installed and assess whether they process untrusted web content. - Upgrade Ubuntu 16.04 LTS systems to a supported release, as it is end of life.
- Follow the Ubuntu security advisory for this CVE and apply fixes once they are published.
Where no fixed version exists, remove affected WebKit packages if they are not needed. Otherwise, avoid using applications built on them to open untrusted web content, and limit their exposure to untrusted networks. Track the Ubuntu advisory for updates. Ubuntu 16.04 LTS is end of life and should be upgraded to a supported release 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 3 releases
Ubuntu 24.04 LTS, Ubuntu 22.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/HT212975
- 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-190 Integer Overflow or Wraparound
Questions about CVE-2021-30952
- Why does an Apple CVE affect Ubuntu?
- The flaw is in web content processing shared by WebKit-based code. Ubuntu ships WebKit-derived source packages such as
webkit2gtk,webkitgtk,wpewebkitandqtwebkit-opensource-src, which are listed as affected. - Is this vulnerability being exploited?
- Yes. CISA added CVE-2021-30952 to its Known Exploited Vulnerabilities catalog on 2026-03-05, with a US federal due date of 2026-03-26. Whether it has been used in ransomware campaigns is unknown.
- Do I need to restart anything after updating?
- Applications that use the WebKit libraries keep running the old code until restarted. Restart those applications after updating the packages.
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.