Skip to content
Server Security Center
KEVmedium6.5

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

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

CVSS v3.1 (CVE record)
6.5
medium
EPSS (exploit probability, 30 days)
18%
higher than 97.2% of all CVEs
Added to CISA KEV
2023-12-04
US federal due date 2023-12-25
Ubuntu priority
medium

CVE-2023-42916 explained

CVE-2023-42916 is an out-of-bounds read in the WebKit browser engine, fixed by Apple with improved input validation. Processing crafted web content may disclose sensitive information. The flaw is listed in the CISA Known Exploited Vulnerabilities catalog, and Apple is aware of a report of exploitation against older iOS versions, so WebKit-based packages on Linux deserve prompt attention.

Impact

An attacker can read memory beyond intended bounds and disclose sensitive information. Attack is over the network, needs low complexity and no privileges, but a user must interact, for example by having an application that uses an affected WebKit library process attacker-supplied web content. Confidentiality impact is high. Integrity and availability are not affected. Apple reports possible exploitation against iOS versions before iOS 16.7.1.

Who is affected

Fixed webkit2gtk: Debian 12 (bookworm) 2.42.3-1~deb12u1, Ubuntu 22.04 LTS 2.42.3-0ubuntu0.22.04.1, Ubuntu 24.04 LTS 2.42.3-1. No fixed version published: wpewebkit on Debian 12, Ubuntu 20.04 LTS and 22.04 LTS; qtwebkit-opensource-src on Ubuntu 18.04 LTS through 24.04 LTS; webkit2gtk on Ubuntu 18.04 LTS and 20.04 LTS; qtwebkit-source and webkitgtk on Ubuntu 18.04 LTS. Ubuntu 16.04 LTS is end of life and all four listed packages lack 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 iOS 17.1.2 and iPadOS 17.1.2, macOS Sonoma 14.1.2, Safari 17.1.2. Processing web content may disclose sensitive information. 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 Safari
    Affected
    • < 17.1.2
    Fixed in
    • 17.1.2

    Fixed versions corrected from the CNA description (record lists truncated bounds).

  • Apple macOS
    Affected
    • < 14.1.2
    Fixed in
    • 14.1.2

    Fixed versions corrected from the CNA description (record lists truncated bounds).

  • Apple iOS and iPadOS
    Affected
    • < 17.1.2
    Fixed in
    • 17.1.2

    Fixed 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.

What to do

  1. On Debian 12, Ubuntu 22.04 LTS and Ubuntu 24.04 LTS, update webkit2gtk to the fixed version or later.
  2. Restart applications that use WebKit libraries so they load the patched code.
  3. Inventory systems for wpewebkit, qtwebkit-opensource-src, qtwebkit-source and webkitgtk, which have no fixed version published.
  4. On Ubuntu 18.04 LTS and 20.04 LTS, check Ubuntu Pro (ESM) for fixes, since standard support has ended.
  5. Upgrade Ubuntu 16.04 LTS systems to a supported release; it is end of life.

Where no fixed package exists, remove unneeded WebKit packages and the applications that depend on them. Avoid using affected applications to open untrusted web content, and limit their network exposure. Watch distribution advisories for updates. Do not wait for fixes on Ubuntu 16.04 LTS; it is end of life and should be upgraded.

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 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
Partial – limited control or information

Weakness: CWE-125 Out-of-bounds Read

Questions about CVE-2023-42916

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 the Known Exploited Vulnerabilities catalog on 2023-12-04.
Do I need to reboot after updating?
A reboot is not required for this userspace library. Restart any application that uses the WebKit libraries so it stops running the old, vulnerable code.
Can this flaw modify data or crash systems?
No. According to the CVSS assessment, the impact is limited to confidentiality: information disclosure. Integrity and availability are not affected.

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.