CVE-2018-4416

HIGH

Safari < 12.0.1 - Memory Corruption

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2018-4416. PoCs published by Google Security Research, erupmi.

AI-analyzed exploit summary This PoC exploits a type confusion vulnerability in JavaScriptCore (CVE-2018-4416) by manipulating structure IDs during a for-in loop, leading to arbitrary memory access. The exploit triggers a garbage collection to free a structure ID and then reuses it to achieve type confusion.

Description

Multiple memory corruption issues were addressed with improved memory handling. This issue affected versions prior to iOS 12.1, tvOS 12.1, watchOS 5.1, Safari 12.0.1, iTunes 12.9.1, iCloud for Windows 7.8.

Exploits (2)

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

This PoC exploits a type confusion vulnerability in JavaScriptCore (CVE-2018-4416) by manipulating structure IDs during a for-in loop, leading to arbitrary memory access. The exploit triggers a garbage collection to free a structure ID and then reuses it to achieve type confusion.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Racy
Target: WebKit JavaScriptCore (Safari)
No auth needed
Prerequisites: Target must be running a vulnerable version of WebKit JavaScriptCore
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 8 stars
by erupmi · poc
https://github.com/erupmi/CVE-2018-4416-exploit

This exploit leverages a type confusion vulnerability in JavaScriptCore (CVE-2018-4416) to achieve arbitrary memory read/write and execute shellcode. It manipulates JIT-compiled functions and object prototypes to bypass security checks and overwrite executable memory regions.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: WebKit JavaScriptCore (Safari)
No auth needed
Prerequisites: Target must be running a vulnerable version of WebKit/JavaScriptCore · JavaScript execution context (e.g., browser)
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Vendor Advisory x_refsource_misc
https://support.apple.com/kb/HT209192
Vendor Advisory x_refsource_misc
https://support.apple.com/kb/HT209195
Vendor Advisory x_refsource_misc
https://support.apple.com/kb/HT209194
Vendor Advisory x_refsource_misc
https://support.apple.com/kb/HT209197
Vendor Advisory x_refsource_misc
https://support.apple.com/kb/HT209198
Vendor Advisory x_refsource_misc
https://support.apple.com/kb/HT209196

Scores

CVSS v3 8.8
EPSS 0.3417
EPSS Percentile 98.2%
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-119
Status published
Products (6)
apple/icloud < 7.8
apple/iphone_os < 12.1
apple/itunes < 12.9.1
apple/safari < 12.0.1
apple/tvos < 12.1
apple/watchos < 5.1
Published Apr 03, 2019
Tracked Since Feb 18, 2026