CVE-2024-41311 Memory corruption in n/a

High 8.1 Published Updated

An attacker can trigger out-of-bounds read and write via a crafted HEIF file, potentially leading to code execution or denial of service.

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

What is CVE-2024-41311?

CVE-2024-41311 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 15 Oct 2024. 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

In Libheif 1.17.6, insufficient checks in ImageOverlay::parse() decoding a heif file containing an overlay image with forged offsets can lead to an out-of-bounds read and write.

Weakness: CWE-787, CWE-125

Which versions are affected by CVE-2024-41311?

It affects 2 products.

Linux distribution packages (6)
libheif SUSE:Linux Enterprise Module for Desktop Applications 15 SP5All versions1.12.0-150400.3.14.1
libheif SUSE:Linux Enterprise Module for Desktop Applications 15 SP6All versions1.12.0-150400.3.14.1
libheif SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions1.12.0-150400.3.14.1
libheif SUSE:Linux Enterprise Module for Package Hub 15 SP6All versions1.12.0-150400.3.14.1
libheif openSUSE:Leap 15.5All versions1.12.0-150400.3.14.1
libheif openSUSE:Leap 15.6All versions1.12.0-150400.3.14.1

Products include Debian Debian Linux, Struktur Libheif.

How do I fix CVE-2024-41311?

Upgrade to a fixed version.

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

Is CVE-2024-41311 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-41311 exists.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-41311, DLA-3934-1, GHSA-mwf7-wfvq-vc32, MGASA-2024-0352, SUSE-SU-2024:3960-1, UBUNTU-CVE-2024-41311 and 1 more.

Is CVE-2024-41311 in your software?

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

Check your SBOMs for free