Skip to content
Server Security Center
KEVmedium6.5

CVE-2023-28204: Apple Multiple Products WebKit Out-of-Bounds Read

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

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

CVE-2023-28204 explained

CVE-2023-28204 is an out-of-bounds read in WebKit, caused by insufficient input validation. Processing malicious web content may disclose sensitive information. Apple is aware of a report that the issue may have been actively exploited, and CISA lists it in its Known Exploited Vulnerabilities catalog. Linux systems are affected through WebKit-based packages such as webkit2gtk, wpewebkit and the QtWebKit sources.

Impact

An attacker can deliver crafted web content over the network. No privileges are needed, but a user must interact, for example by opening the content in an application that uses an affected WebKit engine. Successful exploitation can expose sensitive information with high confidentiality impact. The CVSS components list no impact on integrity or availability. Because exploitation has been reported, treat exposed desktop and web-rendering systems as a priority.

Who is affected

Fixed: webkit2gtk on Debian 12 (bookworm) in 2.40.2-1~deb12u1, and on Ubuntu 22.04 LTS in 2.40.4-0ubuntu0.22.04.1. No fixed version is published for wpewebkit on Debian 12 and Ubuntu 22.04 LTS, or for qtwebkit-opensource-src on Ubuntu 22.04 LTS and 24.04 LTS. Ubuntu 18.04 LTS and 20.04 LTS have unfixed WebKit packages and are in Ubuntu Pro (ESM) only support. 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

An out-of-bounds read was addressed with improved input validation.

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 web content may disclose sensitive information. 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, update webkit2gtk to 2.40.2-1~deb12u1 or later.
  2. On Ubuntu 22.04 LTS, update webkit2gtk to 2.40.4-0ubuntu0.22.04.1 or later.
  3. Restart browsers and other applications that use WebKit so they load the updated libraries.
  4. Check whether wpewebkit or qtwebkit-opensource-src packages are installed, and track the distribution advisory for fixes.
  5. Upgrade systems running Ubuntu 16.04 LTS to a supported release. For 18.04 and 20.04, use Ubuntu Pro or upgrade.

Where no fixed package exists, limit use of affected WebKit-based applications to trusted content. Avoid opening untrusted web pages or HTML in them. Remove unused wpewebkit or QtWebKit packages where possible. Watch the distribution advisories and apply fixes once they are published. Do not wait for fixes on Ubuntu 16.04 LTS, which is end of life. 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
Partial – limited control or information

Weakness: CWE-125 Out-of-bounds Read

Questions about CVE-2023-28204

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 2023-05-22. The required action is to apply updates per vendor instructions.
Why does an Apple vulnerability affect my Linux system?
The flaw is in WebKit, the web engine Apple's products use. Linux distributions ship WebKit-based packages such as webkit2gtk, wpewebkit and QtWebKit, so they can carry the same flaw.
What do I need to do after updating webkit2gtk?
Restart applications that use WebKit, such as browsers and email clients. Running programs keep using the old library code until they are restarted.

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.