OpenImageIO: Unbounded recursion in FITS header parser leads to stack overflow
Summary
| CVE | CVE-2026-59156 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-18 16:17:06 UTC |
| Updated | 2026-09-29 18:57:22 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS: 0.003950000 probability, percentile 0.311530000 (date 2026-09-29)
Problem Types: CWE-674 | CWE-674 CWE-674: Uncontrolled Recursion
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Openimageio | Openimageio | All | All | All | All |
| Application | Openimageio | Openimageio | 3.2.0.0 | dev | All | All |
| Application | Openimageio | Openimageio | 3.2.0.2 | dev | All | All |
| Application | Openimageio | Openimageio | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | AcademySoftwareFoundation | OpenImageIO | affected < 3.0.20.0 | Not specified |
| CNA | AcademySoftwareFoundation | OpenImageIO | affected >= 3.1.0.0, < 3.1.15.0 | Not specified |
| CNA | AcademySoftwareFoundation | OpenImageIO | affected >= 3.2.0.0-dev, < 3.2.0.3-beta1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/AcademySoftwareFoundation/OpenImageIO/pull/5248 | [email protected] | github.com | Issue Tracking, Patch |
| github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0 | [email protected] | github.com | Release Notes |
| github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHS... | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | Exploit, Mitigation, Vendor Advisory |
| github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0 | [email protected] | github.com | Release Notes |
| github.com/AcademySoftwareFoundation/OpenImageIO/commit/b0de7d40d06eb4ab... | [email protected] | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.