CVE-2016-4657: Apple iOS Webkit Memory Corruption
Apple iOS · listed in the CISA catalog of actively exploited vulnerabilities since 2022-05-24.
- CVSS v3.1 (Ubuntu)
- 8.8
- high
- EPSS (exploit probability, 30 days)
- 69%
- higher than 99.3% of all CVEs
- Added to CISA KEV
- 2022-05-24
- US federal due date 2022-06-14
- Ubuntu priority
- medium
CVE-2016-4657 explained
CVE-2016-4657 is a memory corruption flaw in WebKit, first described for Apple iOS before 9.3.5. A crafted web site can trigger it to execute arbitrary code or crash the browser engine. On Ubuntu, WebKit-based source packages are tracked as affected. CISA lists it as known to be exploited.
Impact
An unauthenticated remote attacker can run arbitrary code or cause a denial of service. The victim only has to open a crafted web site in an application that uses an affected WebKit engine. Attack complexity is low and no privileges are needed, but user interaction is required. Successful exploitation can fully compromise confidentiality, integrity and availability within the affected application's context.
Who is affected
Only Ubuntu 16.04 LTS is listed, and it is end of life. webkit2gtk has a fixed version, 2.14.2-0ubuntu0.16.04.1, in the standard archive. qtwebkit-opensource-src, qtwebkit-source and webkitgtk have no fixed version published for that release. No other Ubuntu or Debian releases appear in the facts.
Written with AI from the data on this page and checked against it automatically.
Official description
WebKit in Apple iOS before 9.3.5 allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted web site.
CISA required action: Apply updates per vendor instructions.
CISA notes
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 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
Fixed: 2.14.2-0ubuntu0.16.04.1
Ubuntu 16.04 LTS·webkitgtk
ESM ended
Status: no fixed version published · Ubuntu tracker
What to do
- Identify systems running Ubuntu 16.04 LTS that have WebKit-based packages installed.
- Update
webkit2gtkto2.14.2-0ubuntu0.16.04.1or later. - Restart applications that use WebKit so they load the updated library.
- Plan an upgrade from Ubuntu 16.04 LTS to a supported release, since it is end of life.
- Remove
qtwebkit-opensource-src,qtwebkit-sourceorwebkitgtkpackages where they are not needed.
Ubuntu 16.04 LTS is end of life, and no fix is published for qtwebkit-opensource-src, qtwebkit-source or webkitgtk. Do not wait for one. Upgrade to a supported release. Until then, remove these packages if possible. Otherwise, avoid using applications built on them to open untrusted web content.
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 4 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
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.
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-2016-4657
- Why does an iOS vulnerability affect Ubuntu?
- The flaw is in WebKit, the browser engine. Ubuntu ships WebKit-based packages such as
webkit2gtk,webkitgtkand the QtWebKit sources, so Ubuntu tracks them as affected. - Is this vulnerability exploited in practice?
- Yes. CISA added CVE-2016-4657 to its Known Exploited Vulnerabilities catalog on 2022-05-24. Whether it has been used in ransomware is listed as unknown.
- Is updating webkit2gtk enough?
- It fixes that package only.
qtwebkit-opensource-src,qtwebkit-sourceandwebkitgtkhave no fix on Ubuntu 16.04 LTS. Because that release is end of life, the long-term solution is to upgrade to a supported release.
Written with AI from the data on this page and checked against it automatically.
References
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-22. Always confirm with the vendor's or distribution's advisory before patching.