CVE-2025-31277: Apple Multiple Products Buffer Overflow
Apple Multiple Products · listed in the CISA catalog of actively exploited vulnerabilities since 2026-03-20.
- CVSS v3.1 (CVE record)
- 8.8
- high
- EPSS (exploit probability, 30 days)
- 1.7%
- higher than 77.4% of all CVEs
- Added to CISA KEV
- 2026-03-20
- US federal due date 2026-04-03
- Ubuntu priority
- high
CVE-2025-31277 explained
CVE-2025-31277 is a memory handling flaw in WebKit-based web content processing, listed by Apple as fixed in Safari 18.6 and related OS releases. Processing maliciously crafted web content may lead to memory corruption. On Linux it affects WebKit engine packages such as webkit2gtk and wpewebkit. CISA lists it as known to be exploited.
Impact
An attacker who gets a user to process maliciously crafted web content can cause memory corruption. This can happen over the network. It needs no privileges, only user interaction, such as opening a page in an application that uses an affected WebKit engine. The CVSS rating gives high impact to confidentiality, integrity and availability. That means a successful attack could expose data, alter it, or crash the affected application.
Who is affected
webkit2gtk is fixed in Debian 12 (bookworm) 2.50.1-1~deb12u1, Debian 13 (trixie) 2.50.1-1~deb13u1, Ubuntu 22.04 LTS 2.50.1-0ubuntu0.22.04.1 and Ubuntu 24.04 LTS 2.50.1-0ubuntu0.24.04.1. Debian 14 (forky), the testing distribution, has 2.50.0-1 for webkit2gtk and wpewebkit. wpewebkit has no fix in Debian 12, Debian 13 or Ubuntu 22.04 LTS. qtwebkit-opensource-src has no fix in Ubuntu 22.04 LTS or 24.04 LTS. Ubuntu 16.04 LTS, 18.04 LTS and 20.04 LTS have no fixed packages. Ubuntu 25.10 is end of life.
Written with AI from the data on this page and checked against it automatically.
Official description
The issue was addressed with improved memory handling. This issue is fixed in Safari 18.6, watchOS 11.6, visionOS 2.6, iOS 18.6 and iPadOS 18.6, macOS Sequoia 15.6, tvOS 18.6. Processing maliciously crafted web content may lead to memory corruption.
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 SafariAffectedFixed in
- < 18.6
- 18.6
- Apple iOS and iPadOSAffectedFixed in
- < 18.6
- 18.6
- Apple macOSAffectedFixed in
- < 15.6
- 15.6
- Apple tvOSAffectedFixed in
- < 18.6
- 18.6
- Apple visionOSAffectedFixed in
- < 2.6
- 2.6
- Apple watchOSAffectedFixed in
- < 11.6
- 11.6
| Product | Affected | Fixed in |
|---|---|---|
| Apple Safari |
|
|
| Apple iOS and iPadOS |
|
|
| Apple macOS |
|
|
| Apple tvOS |
|
|
| Apple visionOS |
|
|
| Apple watchOS |
|
|
Also affected (reported by product suppliers)
- Red Hat Enterprise Linux 6Affected–Fixed innot stated
Affected versions are not specified in the CVE record.
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 6Affected versions are not specified in the CVE record. | – | not stated |
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 25.10·webkit2gtk
end of life
Fixed: 2.50.0-2ubuntu1
Ubuntu 24.04 LTS·qtwebkit-opensource-src
Status: no fixed version published · Ubuntu tracker
Ubuntu 24.04 LTS·webkit2gtk
Fixed: 2.50.1-0ubuntu0.24.04.1
Ubuntu 22.04 LTS·qtwebkit-opensource-src
Status: no fixed version published · Ubuntu tracker
Ubuntu 22.04 LTS·webkit2gtk
Fixed: 2.50.1-0ubuntu0.22.04.1
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
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
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
Debian 14 (forky)·webkit2gtk
testing distribution
Fixed: 2.50.0-1
Debian 14 (forky)·wpewebkit
testing distribution
Fixed: 2.50.0-1
Debian 13 (trixie)·webkit2gtk
Fixed: 2.50.1-1~deb13u1
Debian 13 (trixie)·wpewebkit
Status: no fixed version published · Debian tracker
Debian 12 (bookworm)·webkit2gtk
Fixed: 2.50.1-1~deb12u1
Debian 12 (bookworm)·wpewebkit
Status: no fixed version published · Debian tracker
What to do
- Update
webkit2gtkto the fixed version for your release on Debian 12, Debian 13, Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. - Restart applications that use WebKit, such as browsers and mail clients, so they load the patched library.
- Check whether
wpewebkitorqtwebkit-opensource-srcis installed, and watch for fixed versions for your release. - Upgrade systems on end-of-life releases such as Ubuntu 16.04 LTS and Ubuntu 25.10 to a supported release.
- On Ubuntu 18.04 LTS and 20.04 LTS, enable Ubuntu Pro (ESM) or upgrade to a supported release.
Where no fixed wpewebkit or qtwebkit-opensource-src package exists, remove the package if no software needs it. Otherwise, avoid using affected applications to open untrusted web content. Limit those applications to trusted sources. Track the distribution advisory for updates. CISA advises discontinuing use of the product if mitigations are unavailable.
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 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/124147
- 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-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Questions about CVE-2025-31277
- Is this vulnerability being exploited?
- Yes. CISA added CVE-2025-31277 to its Known Exploited Vulnerabilities catalog on 2026-03-20, with a US federal due date of 2026-04-03. Ransomware use is listed as unknown.
- Why does an Apple vulnerability affect my Linux systems?
- The flaw is in WebKit web content processing. Linux packages such as
webkit2gtk,wpewebkitand QtWebKit are built from the WebKit engine, so the distributions track the issue for those packages. - Do I need to reboot after updating?
- A reboot is not required for this userspace library. However, applications using WebKit keep running the old code until they are restarted, so restart them after updating.
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.