Code execution via stale property enumeration state
Published Apr 2, 2021 · Updated Oct 21, 2025
WebKit type confusion in Apple iOS and iPadOS before 14.4 and macOS Big Sur before 11.2 allows remote attackers to execute code. JavaScriptCore's propertyNameEnumerator caches a structure-property count before a Proxy getPrototypeOf callback can mutate the prototype chain, then uses the stale count for an out-of-bounds read. A user must open attacker-controlled web content; the demonstrated memory-corruption chain turns the read into use-after-free and code execution in the WebKit process.
Summary
What happened
WebKit type confusion in Apple iOS and iPadOS before 14.4 and macOS Big Sur before 11.2 allows remote attackers to execute code. JavaScriptCore's propertyNameEnumerator caches a structure-property count before a Proxy getPrototypeOf callback can mutate the prototype chain, then uses the stale count for an out-of-bounds read. A user must open attacker-controlled web content; the demonstrated memory-corruption chain turns the read into use-after-free and code execution in the WebKit process.
The record
- CVE
- CVE-2021-1789
- Published
- Apr 2, 2021
- Updated
- Oct 21, 2025
- Vendor
- Apple
- Product
- iOS and iPadOS
- Classifications
- CWE-843, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 2, 2021CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <14.4
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- JSPropertyNameEnumerator out-of-bounds-read exploit demonstrationfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities catalog listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo