CVE-2024-40630 HEIF Heap OOB Read in OpenImageIO

Medium 4.3 Published Updated

An out-of-bounds read in OpenImageIO's HEIF input allows attackers to disclose sensitive information via crafted image files.

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-40630?

CVE-2024-40630 is a medium-severity vulnerability in AcademySoftwareFoundation OpenImageIO, published on 15 Jul 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

OpenImageIO is a toolset for reading, writing, and manipulating image files of any image file format relevant to VFX / animation via a format-agnostic API with a feature set, scalability, and robustness needed for feature film production. In affected versions there is a bug in the heif input functionality of OpenImageIO. Specifically, in `HeifInput::seek_subimage()`. In the worst case, this can lead to an information disclosure vulnerability, particularly for programs that directly use the `ImageInput` APIs. This bug has been addressed in commit `0a2dcb4c` which is included in the 2.5.13.1 release. Users are advised to upgrade. There are no known workarounds for this issue.

Weakness: CWE-125

Which versions are affected by CVE-2024-40630?

Linux distribution packages (1)
OpenImageIO openSUSE:TumbleweedAll versions2.5.13.1-1.1

How do I fix CVE-2024-40630?

Upgrade to a fixed version.

Is CVE-2024-40630 being exploited?

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

Sources

Also known as DEBIAN-CVE-2024-40630, GHSA-jjm9-9m4m-c8p2, UBUNTU-CVE-2024-40630, openSUSE-SU-2024:14200-1.

Is CVE-2024-40630 in your software?

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

Check your SBOMs for free