Buffer overflow in WebKitGTK+ and WPE WebKit - CVE-2025-31238
Published: May 12, 2025 / Updated: May 22, 2025
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
WPE WebKit
visionOS
watchOS
macOS
tvOS
iPadOS
Apple iOS
Apple Safari
How to mitigate CVE-2025-31238
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
- Multiple vulnerabilities in WebKitGTK+ and WPE WebKit
- Multiple vulnerabilities in macOS Sequoia
- Multiple vulnerabilities in Apple Safari
- Multiple vulnerabilities in Apple tvOS
- Multiple vulnerabilities in Apple visionOS
- Multiple vulnerabilities in Apple watchOS
- Multiple vulnerabilities in Apple iOS 18 and iPadOS 18