# CVE-2024-40630: HEIF Heap OOB Read in OpenImageIO

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2024-07-15T19:15:06.310Z
- Modified: 2026-06-17T07:46:12.253Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- AcademySoftwareFoundation OpenImageIO: < 2.5.13.1
- openimageio openimageio: before 2.5.13.1

## References

- <https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-jjm9-9m4m-c8p2>
- <https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/0a2dcb4cf2c3fd4825a146cd3ad929d9d8305ce3>
- <https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/7c486a1121a4bf71d50ff555fab2770294b748d7/src/heif.imageio/heifinput.cpp#L250>

## Sources

- CVE List: [CVE-2024-40630](https://www.cve.org/CVERecord?id=CVE-2024-40630), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-40630](https://nvd.nist.gov/vuln/detail/CVE-2024-40630), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-40630 · Whole record: https://cve.day/CVE-2024-40630.json · Rebuilt by cve.day 2026-11-25T22:58:42.946Z
