Buffer overflow in WebKitGTK+ and WPE WebKit - CVE-2025-31238

 

Buffer overflow in WebKitGTK+ and WPE WebKit - CVE-2025-31238

Published: May 12, 2025 / Updated: May 22, 2025


Vulnerability identifier: #VU108957
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-31238
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in WebKit engine. A remote attacker can trick the victim into visiting a specially crafted webpage, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

WebKitGTK+
WPE WebKit
visionOS
watchOS
macOS
tvOS
iPadOS
Apple iOS
Apple Safari

How to mitigate CVE-2025-31238

Install updates from vendor's website.

visionOS - update to 2.5
watchOS - update to 11.5
macOS - update to 15.5 24F74
tvOS - update to 18.5
Apple Safari - update to 18.5
iPadOS - update to 18.5 22F76
Apple iOS - update to 18.5 22F76

External References

Related Security Bulletins