Vulnerability · Published Sep 18, 2026 · Assigned by GitHub_M
CVE-2026-59156OpenImageIO: Unbounded recursion in FITS header parser leads to stack overflow
Medium 6.5
In plain English
A medium-severity security flaw 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 30% 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. 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | openimageio | no fix listed | DEBIAN-CVE-2026-59156 |
| Debian:13 | openimageio | no fix listed | DEBIAN-CVE-2026-59156 |
| Debian:14 | openimageio | 3.1.18.0+dfsg-2 | DEBIAN-CVE-2026-59156 |
| Ubuntu:22.04:LTS | openimageio | no fix listed | UBUNTU-CVE-2026-59156 |
| Ubuntu:26.10 | openimageio | no fix listed | UBUNTU-CVE-2026-59156 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AcademySoftwareFoundation | OpenImageIO | < 3.0.20.0>= 3.1.0.0, < 3.1.15.0>= 3.2.0.0-dev, < 3.2.0.3-beta1 |
Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-xvwr-x6ch-v2fq x_refsource_CONFIRM
- https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5248 x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/b0de7d40d06eb4abc7ef14c1321a1a2a976d8c1c x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0 x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0 x_refsource_MISC