# CVE-2026-59156: OpenImageIO: Unbounded recursion in FITS header parser leads to stack overflow

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- 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.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T15:34:19.593Z
- Modified: 2026-09-29T18:57:22.510Z
- Weaknesses: CWE-674
- 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. Prior to 3.0.20.0, 3.1.15.0, and 3.2.0.3-beta1, A crafted fits stream containing consecutive 2880-byte header blocks without the mandatory end keyword makes fitsinput::read_fits_header() call itself without a depth bound. repeated recursive parsing exhausts the application stack, resulting in denial of service. The affected implementation is identified by src/fits.imageio/fitsinput.cpp, FitsInput::read_fits_header(), END keyword, and 2880-byte FITS header blocks, which define the relevant source path, functions, state, and trigger. This issue is fixed in versions 3.0.20.0, 3.1.15.0, and 3.2.0.3-beta1.

(As written by CVE List.)

## Affected

- AcademySoftwareFoundation OpenImageIO: < 3.0.20.0; >= 3.1.0.0, < 3.1.15.0; >= 3.2.0.0-dev, < 3.2.0.3-beta1
- openimageio openimageio: before 3.0.20.0; from 3.1.0.0 up to 3.1.15.0; 3.2.0.0; 3.2.0.2

## References

- <https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-xvwr-x6ch-v2fq> (exploit, mitigation, vendor-advisory)
- <https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5248> (issue-tracking, patch)
- <https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/b0de7d40d06eb4abc7ef14c1321a1a2a976d8c1c> (patch)
- <https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0> (release-notes)
- <https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0> (release-notes)

## Sources

- CVE List: [CVE-2026-59156](https://www.cve.org/CVERecord?id=CVE-2026-59156), CVE Terms of Use, modified 2026-09-24
- NVD: [CVE-2026-59156](https://nvd.nist.gov/vuln/detail/CVE-2026-59156), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-59156 · Whole record: https://cve.day/CVE-2026-59156.json · Rebuilt by cve.day 2026-11-25T22:59:39.614Z
