CVE-2024-40782 Use after free in Safari

Critical 9.8 Published Updated

Processing maliciously crafted web content in Apple Safari may lead to an unexpected process crash due to a use-after-free vulnerability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-40782?

CVE-2024-40782 is a critical use after free vulnerability in Apple Ipados, published on 29 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A use-after-free issue was addressed with improved memory management. This issue is fixed in Safari 17.6, iOS 16.7.9 and iPadOS 16.7.9, iOS 17.6 and iPadOS 17.6, macOS Sonoma 14.6, tvOS 17.6, visionOS 1.3, watchOS 10.6. Processing maliciously crafted web content may lead to an unexpected process crash.

Weakness: CWE-416

Which versions are affected by CVE-2024-40782?

It affects 7 products.

Products include Apple Ipados, Apple Iphone Os, Apple Macos, Apple Safari, Apple Tvos, Apple Visionos and 1 more.

How do I fix CVE-2024-40782?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-40782 being exploited?

There is no known exploitation of CVE-2024-40782 in the wild and no public exploit code.

All Apple Ipados vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-40782, GHSA-4rw8-cxgp-9r2g, UBUNTU-CVE-2024-40782.

Is CVE-2024-40782 in your software?

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

Check your SBOMs for free