OpenImageIO: Unbounded recursion in FITS header parser leads to stack overflow
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-674.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| AcademySoftwareFoundation | OpenImageIO | before 3.0.20.0; 3.1.0.0 to before 3.1.15.0; 3.2.0.0-dev to before 3.2.0.3-beta1 | 3.0.20.0, 3.1.15.0, 3.2.0.3-beta1 | Patch available | CNA |
- OpenImageIO VendorAcademySoftwareFoundation Affected before 3.0.20.0; 3.1.0.0 to before 3.1.15.0; 3.2.0.0-dev to before 3.2.0.3-beta1 Fixed in 3.0.20.0, 3.1.15.0, 3.2.0.3-beta1 Patch available CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openimageio:openimageio:*:*:*:*:*:*:*:* | before 3.0.20.0; 3.1.0.0 – 3.1.15.0 | Vulnerable | OpenImageIO Project |
| cpe:2.3:a:openimageio:openimageio:3.2.0.0:dev:*:*:*:*:*:* | 3.2.0.0 dev | Vulnerable | OpenImageIO Project |
| cpe:2.3:a:openimageio:openimageio:3.2.0.2:dev:*:*:*:*:*:* | 3.2.0.2 dev | Vulnerable | OpenImageIO Project |
- cpe:2.3:a:openimageio:openimageio:*:*:*:*:*:*:*:* Versions before 3.0.20.0; 3.1.0.0 – 3.1.15.0 Vulnerable ·OpenImageIO Project
- cpe:2.3:a:openimageio:openimageio:3.2.0.0:dev:*:*:*:*:*:* Versions 3.2.0.0 dev Vulnerable ·OpenImageIO Project
- cpe:2.3:a:openimageio:openimageio:3.2.0.2:dev:*:*:*:*:*:* Versions 3.2.0.2 dev Vulnerable ·OpenImageIO Project
Remediation
- Fix · CNA OpenImageIO (AcademySoftwareFoundation) Fixed in 3.0.20.0, 3.1.15.0, 3.2.0.3-beta1
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-59156
References
Exploit 1
Patch 2
More AcademySoftwareFoundation vulnerabilities
- TI-2026-30739 OpenColorIO vulnerable to stack buffer overflow via unbounded `sscanf %s` in Spi3D (.spi3d) LUT parser CVSS 4.0HIGH 8.4
- TI-2026-38605 OpenEXR: Unhandled assert abort in HTJ2K decoder via crafted QCD marker (DoS) CVSS 4.0HIGH 7.1
- TI-2026-48281 OpenEXR: Heap out-of-bounds write in exrmultiview with subsampled channel union CVSS 3.1HIGH 7.1
- TI-2026-48279 OpenEXR: Heap buffer overflow in PyOpenEXR from literal/prefixed RGB channel name collision CVSS 3.1HIGH 7.1
- TI-2026-42768 OpenEXR: Heap OOB read in SampleCountChannel row when using nonzero dataWindow CVSS 3.1HIGH 7.1
- TI-2026-42338 OpenEXR: Out-of-bounds read in DeepImageChannel::row() for non-zero dataWindow origin CVSS 3.1HIGH 7.1
Sources
- CVE-2026-59156 · CVE Program
- CVE-2026-59156 · NVD
- FIRST EPSS
- CVE-2026-59156 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences