CVE-2018-4218

HIGH

Safari < 11.1.1 - Remote Code Execution via WebKit @generatorState Use-After-Free

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2018-4218. PoCs published by Google Security Research.

AI-analyzed exploit summary This exploit leverages a use-after-free vulnerability in WebKit's generator implementation by manipulating prototype chains and internal properties to bypass recursion checks. The PoC demonstrates memory corruption via crafted generator objects.

Description

An issue was discovered in certain Apple products. iOS before 11.4 is affected. Safari before 11.1.1 is affected. iCloud before 7.5 on Windows is affected. iTunes before 12.7.5 on Windows is affected. tvOS before 11.4 is affected. watchOS before 4.3.1 is affected. The issue involves the "WebKit" component. It allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via a crafted web site that triggers an @generatorState use-after-free.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Google Security Research · htmldosmultiple
https://www.exploit-db.com/exploits/44861

This exploit leverages a use-after-free vulnerability in WebKit's generator implementation by manipulating prototype chains and internal properties to bypass recursion checks. The PoC demonstrates memory corruption via crafted generator objects.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: WebKit (Safari, other browsers using WebKit)
No auth needed
Prerequisites: Target must be using a vulnerable version of WebKit
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (11)

Core 11
Core References
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208850
Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/44861/
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208853
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208851
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201808-04
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208854
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1041029
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3687-1/
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208848
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://bugs.chromium.org/p/project-zero/issues/detail?id=1553
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208852

Scores

CVSS v3 8.8
EPSS 0.3084
EPSS Percentile 96.9%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (9)
apple/icloud < 7.5
apple/iphone_os < 11.4
apple/itunes < 12.7.5
apple/safari < 11.1.1
apple/tvos < 11.4
apple/watchos < 4.3.1
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 17.10
canonical/ubuntu_linux 18.04
Published Jun 08, 2018
Tracked Since Feb 18, 2026