CVE-2022-42856 Apple iOS Type Confusion

Exploited in the wild High 8.8 Published Updated

A type confusion vulnerability in Safari allows arbitrary code execution via malicious web content, requiring users to update their Apple devices.

Exploited in the wild
Since 14 Dec 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-42856?

CVE-2022-42856 is a high-severity memory corruption vulnerability in Apple Ipados, published on 15 Dec 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A type confusion issue was addressed with improved state handling. This issue is fixed in Safari 16.2, tvOS 16.2, macOS Ventura 13.1, iOS 15.7.2 and iPadOS 15.7.2, iOS 16.1.2. Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been actively exploited against versions of iOS released before iOS 15.1..

Weakness: CWE-843

Which versions are affected by CVE-2022-42856?

It affects 5 products.

Linux distribution packages (34)
webkit2gtk3 AlmaLinux:8All versions2.36.7-1.el8_7.1
webkit2gtk3-devel AlmaLinux:8All versions2.36.7-1.el8_7.1
webkit2gtk3-jsc AlmaLinux:8All versions2.36.7-1.el8_7.1
webkit2gtk3-jsc-devel AlmaLinux:8All versions2.36.7-1.el8_7.1
webkit2gtk3 AlmaLinux:9All versions2.36.7-1.el9_1.1
webkit2gtk3-devel AlmaLinux:9All versions2.36.7-1.el9_1.1
webkit2gtk3-jsc AlmaLinux:9All versions2.36.7-1.el9_1.1
webkit2gtk3-jsc-devel AlmaLinux:9All versions2.36.7-1.el9_1.1
webkit2gtk3 Red Hat:enterprise_linux:8::appstreamAll versions0:2.36.7-1.el8_7.1
webkit2gtk3-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.36.7-1.el8_7.1
webkit2gtk3-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:2.36.7-1.el8_7.1
webkit2gtk3-devel Red Hat:enterprise_linux:8::appstreamAll versions0:2.36.7-1.el8_7.1
webkit2gtk3-devel-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.36.7-1.el8_7.1
webkit2gtk3-jsc Red Hat:enterprise_linux:8::appstreamAll versions0:2.36.7-1.el8_7.1
webkit2gtk3-jsc-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.36.7-1.el8_7.1
webkit2gtk3-jsc-devel Red Hat:enterprise_linux:8::appstreamAll versions0:2.36.7-1.el8_7.1
webkit2gtk3-jsc-devel-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.36.7-1.el8_7.1
webkit2gtk3 Red Hat:enterprise_linux:9::appstreamAll versions0:2.36.7-1.el9_1.1
webkit2gtk3-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.36.7-1.el9_1.1
webkit2gtk3-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:2.36.7-1.el9_1.1
webkit2gtk3-devel Red Hat:enterprise_linux:9::appstreamAll versions0:2.36.7-1.el9_1.1
webkit2gtk3-devel-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.36.7-1.el9_1.1
webkit2gtk3-jsc Red Hat:enterprise_linux:9::appstreamAll versions0:2.36.7-1.el9_1.1
webkit2gtk3-jsc-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.36.7-1.el9_1.1
webkit2gtk3-jsc-devel Red Hat:enterprise_linux:9::appstreamAll versions0:2.36.7-1.el9_1.1
webkit2gtk3-jsc-devel-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.36.7-1.el9_1.1
webkit2gtk3 Rocky Linux:8All versions0:2.36.7-1.el8_7.1
webkit2gtk3 Rocky Linux:9All versions0:2.36.7-1.el9_1.1
webkit2gtk3-soup2 SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions2.38.3-150400.4.25.1
webkit2gtk3 SUSE:Linux Enterprise Module for Desktop Applications 15 SP4All versions2.38.3-150400.4.25.1
webkit2gtk4 SUSE:Linux Enterprise Module for Development Tools 15 SP4All versions2.38.3-150400.4.25.1
webkit2gtk3 openSUSE:Leap 15.4All versions2.38.3-150400.4.25.1
webkit2gtk3-soup2 openSUSE:Leap 15.4All versions2.38.3-150400.4.25.1
webkit2gtk4 openSUSE:Leap 15.4All versions2.38.3-150400.4.25.1

Products include Apple Ipados, Apple Iphone Os, Apple Macos, Apple Safari, Apple Tvos.

How do I fix CVE-2022-42856?

Upgrade to a fixed version. US federal agencies must fix it by 4 Jan 2023.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-42856 being exploited?

Yes. Attackers have exploited CVE-2022-42856 in the wild since at least 14 Dec 2022.

All Apple Ipados vulnerabilities

Sources

Also known as ALSA-2023:0016, ALSA-2023:0021, DEBIAN-CVE-2022-42856, GHSA-qh2r-8xvg-hm24, RHSA-2023:0016, RHSA-2023:0021 and 4 more.

Is CVE-2022-42856 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free