Apple patches iOS 12 after hackers exploit WebKit Engine flaws
The emergency patch addresses two bugs abused to launch remote code execution attacks


Apple has released an out-of-band security fix to address two zero-day vulnerabilities in iOS 12.5.3 that hackers are actively exploiting to launch remote code execution attacks.
The two flaws under scrutiny are CVE-2021-30761 and CVE-2021-30762, which both lie in the open source WebKit browser rendering engine used by Apple to power Safari, as well as all iOS web browsers. It’s also used by many other apps across the Apple ecosystem on various devices.
Apple has patched these two flaws with iOS version 12.5.4, alongside a fix for a memory corruption issue in ASN.1 decoder, tracked as CVE-2021-30737. Abstract Syntax Notation One, or ASN.1, is a standard interface language for defining data structures that can be serialised and deserialised in a cross-platform way.
The first of the two WebKit flaws, CVE-2021-30761, is also a memory corruption issue that can be exploited to execute code remotely when processing malicious web content.
The second, CVE-2021-30762, is a use-after-free issue that can also be exploited to launch remote code execution attacks when processing malicious content.
They’ve been fixed with “improved state management” and “improved memory management” respectively.
These two are only the latest flaws to affect Apple’s WebKit browser engine that hackers have exploited since the start of the year. In total, Apple has patched seven WebKit-related flaws since January 2021, across various devices.
Get the ITPro daily newsletter
Sign up today and you will receive a free copy of our Future Focus 2025 report - the leading guidance on AI, cybersecurity and other IT challenges as per 700+ senior executives
RELATED RESOURCE
Security awareness training strategies for account takeover protection
Why you need an inside-the-perimeter strategy for internal threats
WebKit, alongside its use in Safari, is also used in various iOS, macOS, watchOS and Apple TV apps and services.
The latest version of Safari released in April brought with it a host of new WebKit features, APIs, performance improvements and better compatibility for web developers. For example, Safari 14.1 now supports a media encoder as well as date and time inputs on macOS.
Support for the AudioWorklets technology, a web standard that optimises audio processing in the browser, however, brought with it a glaring security issue.
Researchers with Theori reported that a bug in the implementation of this feature made it possible to use technology to get Safari and other WebKit-based browsers to run arbitrary code. Although the WebKit developers fixed the bug, Apple’s Safari developers didn’t bake this into the web browser on iOS or macOS.

Keumars Afifi-Sabet is a writer and editor that specialises in public sector, cyber security, and cloud computing. He first joined ITPro as a staff writer in April 2018 and eventually became its Features Editor. Although a regular contributor to other tech sites in the past, these days you will find Keumars on LiveScience, where he runs its Technology section.
-
Why are many men in tech blind to the gender divide?
In-depth From bias to better recognition, male allies in tech must challenge the status quo to advance gender equality
By Keri Allan
-
BenQ PD3226G monitor review
Reviews This 32-inch monitor aims to provide the best of all possible worlds – 4K resolution, 144Hz refresh rate and pro-class color accuracy – and it mostly succeeds
By Sasha Muller
-
Hackers are targeting Ivanti VPN users again – here’s what you need to know
News Ivanti has re-patched a security flaw in its Connect Secure VPN appliances that's been exploited by a China-linked espionage group since at least the middle of March.
By Emma Woollacott
-
Broadcom issues urgent alert over three VMware zero-days
News The firm says it has information to suggest all three are being exploited in the wild
By Solomon Klappholz
-
Nakivo backup flaw still present on some systems months after firms’ ‘silent patch’, researchers claim
News Over 200 vulnerable Nakivo backup instances have been identified months after the firm silently patched a security flaw.
By Solomon Klappholz
-
Everything you need to know about the Microsoft Power Pages vulnerability
News A severe Microsoft Power Pages vulnerability has been fixed after cyber criminals were found to have been exploiting unpatched systems in the wild.
By Solomon Klappholz
-
Vulnerability management complexity is leaving enterprises at serious risk
News Fragmented data and siloed processes mean remediation is taking too long
By Emma Woollacott
-
A critical Ivanti flaw is being exploited in the wild – here’s what you need to know
News Cyber criminals are actively exploiting a critical RCE flaw affecting Ivanti Connect Secure appliances
By Solomon Klappholz
-
Researchers claim an AMD security flaw could let hackers access encrypted data
News Using only a $10 test rig, researchers were able to pull off the badRAM attack
By Solomon Klappholz
-
The threat prevention buyer's guide
Whitepaper Find the best advanced and file-based threat protection solution for you
By ITPro