CVE-2017-2522

CRITICAL

iPhone OS < 10.3.2, macOS < 10.12.5, tvOS < 10.2.1, watchOS < 3.2.2 - Remote Code Execution in CoreFoundation

Title source: llm
STIX 2.1

Exploitation Summary

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

AI-analyzed exploit summary This exploit demonstrates a buffer overflow vulnerability in the Foundation library's NSKeyedUnarchiver due to improper handling of NSCharacterSet deserialization. It allows for heap corruption and potential ROP exploitation by manipulating the _nonBMPPlanes array index.

Description

An issue was discovered in certain Apple products. iOS before 10.3.2 is affected. macOS before 10.12.5 is affected. tvOS before 10.2.1 is affected. watchOS before 3.2.2 is affected. The issue involves the "CoreFoundation" component. It allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via crafted data.

Exploits (1)

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

This exploit demonstrates a buffer overflow vulnerability in the Foundation library's NSKeyedUnarchiver due to improper handling of NSCharacterSet deserialization. It allows for heap corruption and potential ROP exploitation by manipulating the _nonBMPPlanes array index.

Classification
Working Poc 90%
Attack Type
Deserialization
Complexity
Complex
Reliability
Theoretical
Target: Apple Foundation library (macOS 10.12.3 and potentially iOS)
No auth needed
Prerequisites: Access to a process that calls NSKeyedUnarchiver's unarchive method · Ability to send crafted NSArchiver objects
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT207797
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT207800
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/98588
Exploit, Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/42049/
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT207798
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT207801

Scores

CVSS v3 9.8
EPSS 0.0659
EPSS Percentile 92.9%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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