Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-59156 EUVD-2026-83121

OpenImageIO: Unbounded recursion in FITS header parser leads to stack overflow

Published Sep 18, 2026 · Updated Sep 24, 2026 · 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.

Affected products

VendorProductAffectedFixed
AcademySoftwareFoundation OpenImageIO < 3.0.20.0, >= 3.1.0.0, < 3.1.15.0, >= 3.2.0.0-dev, < 3.2.0.3-beta1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openimageio 3.1.18.0+dfsg-2 —
Debian 13 openimageio No fix yet —
Debian 12 openimageio No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openimageio No fix yet —
Ubuntu 22.04 LTS openimageio No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS openimageio No fix yet —
Ubuntu Pro 24.04 LTS openimageio No fix yet —
Ubuntu Pro 20.04 LTS openimageio No fix yet —
Ubuntu Pro 18.04 LTS openimageio No fix yet —
Ubuntu Pro 16.04 LTS openimageio No fix yet —

References