Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilityproof-of-concept-releasewidely-deployed-product-advisory

WebKit JavaScriptCore flaw enabled out-of-bounds write and code execution path

Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Apr 11, 2026

WebKit JavaScriptCore flaw enabled out-of-bounds write and code execution path

Researchers detailed CVE-2022-32792, a Safari/WebKit JavaScriptCore vulnerability in the B3ReduceStrength optimization phase that mishandled integer range analysis for sign-extension operations such as SExt8, SExt16, and SExt32. The flaw, disclosed after Manfred Paul exploited it at Pwn2Own, caused pre-patch code to treat sign extension as effectively preserving the original range, which could wrongly remove overflow and underflow checks from CheckAdd, CheckSub, and CheckMul operations in JIT-compiled code.

Apple fixed the issue in WebKit by adding IntRange::sExt and updating rangeFor so sign extension is modeled correctly. The published walkthrough showed how the bug could be turned from an Int32 underflow into a bounds-check bypass and out-of-bounds array access, then into corruption of adjacent array metadata; by overlapping double and object arrays, the exploit produced addrof and fakeobj primitives that could be extended to arbitrary read/write and eventual code execution in Safari/WebKit.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · May 18, 2022 – Sep 8, 2022
  1. Sep 8, 20224y ago

    STAR Labs publishes technical walkthrough and exploit analysis

    STAR Labs published a detailed analysis of CVE-2022-32792, explaining the root cause in JavaScriptCore's B3ReduceStrength phase and showing how the bug could be turned into out-of-bounds access and object corruption primitives. The write-up included proof-of-concept details demonstrating a path toward arbitrary read/write and eventual code execution in Safari/WebKit.

  2. Sep 8, 20224y ago

    Apple patches CVE-2022-32792 in WebKit

    Apple fixed CVE-2022-32792 in WebKit by adding IntRange::sExt and updating rangeFor so SExt8, SExt16, and SExt32 operations are modeled correctly during optimization. The patch addressed unsafe elimination of overflow and underflow checks that could lead to out-of-bounds writes.

  3. May 18, 20225y ago

    Manfred Paul exploits WebKit bug at Pwn2Own

    Manfred Paul successfully exploited the WebKit JavaScriptCore vulnerability later tracked as CVE-2022-32792 at Pwn2Own, demonstrating the bug in a real-world contest setting. The exploit exposed a flaw in B3ReduceStrength's handling of sign-extension range analysis.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
SafariWebkit

Organizations

1 linked
Apple
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.