CVE-2017-2521

HIGH

iPhone OS < 10.3.2, macOS < 10.12.5, tvOS < 10.2.1, watchOS < 3.2.2 - Remote Code Execution via WebKit Memory Corruption

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-2521. PoCs published by Google Security Research.

AI-analyzed exploit summary This PoC exploits a vulnerability in JavaScriptCore's JSObject::ensureLength, where setPublicLength is called regardless of ensureLengthSlow's success, leading to an out-of-bounds (OOB) access. The code demonstrates the issue by manipulating array lengths and triggering the OOB condition.

Description

An issue was discovered in certain Apple products. iOS before 10.3.2 is affected. Safari before 10.1.1 is affected. tvOS before 10.2.1 is affected. watchOS before 3.2.2 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.

Exploits (1)

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

This PoC exploits a vulnerability in JavaScriptCore's JSObject::ensureLength, where setPublicLength is called regardless of ensureLengthSlow's success, leading to an out-of-bounds (OOB) access. The code demonstrates the issue by manipulating array lengths and triggering the OOB condition.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: WebKit JavaScriptCore (Safari)
No auth needed
Prerequisites: A vulnerable version of WebKit/JavaScriptCore
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1038487
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT207800
Exploit, Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/42103/
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT207804
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201706-15
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/98456
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT207798
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT207801

Scores

CVSS v3 8.8
EPSS 0.0590
EPSS Percentile 92.3%
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 (4)
apple/iphone_os < 10.3.2
apple/mac_os_x < 10.12.5
apple/tvos < 10.2.1
apple/watchos < 3.2.2
Published May 22, 2017
Tracked Since Feb 18, 2026