Vulnerability · Published Jul 15, 2024 · Assigned by GitHub_M
CVE-2024-40630HEIF Heap OOB Read in OpenImageIO
Medium 4.3
In plain English
A medium-severity out-of-bounds read in OpenImageIO from AcademySoftwareFoundation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | openimageio | no fix listed | DEBIAN-CVE-2024-40630 |
| Debian:13 | openimageio | 2.5.14.0+dfsg-1 | DEBIAN-CVE-2024-40630 |
| Debian:14 | openimageio | 2.5.14.0+dfsg-1 | DEBIAN-CVE-2024-40630 |
| Ubuntu:22.04:LTS | openimageio | no fix listed | UBUNTU-CVE-2024-40630 |
| Ubuntu:25.10 | openimageio | no fix listed | UBUNTU-CVE-2024-40630 |
| Ubuntu:26.10 | openimageio | no fix listed | UBUNTU-CVE-2024-40630 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AcademySoftwareFoundation | OpenImageIO | < 2.5.13.1 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
References
- https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-jjm9-9m4m-c8p2 x_refsource_CONFIRM
- https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/0a2dcb4cf2c3fd4825a146cd3ad929d9d8305ce3 x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/7c486a1121a4bf71d50ff555fab2770294b748d7/src/heif.imageio/heifinput.cpp#L250 x_refsource_MISC