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

Published Sep 18, 2026
·
Updated

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::readfitsheader() 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::readfitsheader(), 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 Software

1 affected component
Openimageio Openimageio>3.0.19.0<3.0.20.0, >3.1.14.0<3.1.15.0, >3.2.0.3-beta0<3.2.0.3-beta1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenImageIO to a version that resolves this vulnerability.

    Fixed in 3.0.20.0
  2. Upgrade

    Upgrade OpenImageIO to a version that resolves this vulnerability.

    Fixed in 3.1.15.0
  3. Upgrade

    Upgrade OpenImageIO to a version that resolves this vulnerability.

    Fixed in 3.2.0.3-beta1

Event History

Sep 18, 2026
CVE Published
via MITRE·03:34 PM
Data Sourced
via MITRE·03:34 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What does an attacker need to trigger the denial of service?

An attacker needs to cause the application to parse a crafted FITS stream. The stream contains consecutive 2880-byte FITS header blocks without the mandatory END keyword, causing unbounded recursive header parsing until the application stack is exhausted.

2

Which deployments are affected?

OpenImageIO versions prior to 3.0.20.0, 3.1.15.0, and 3.2.0.3-beta1 are affected. Exposure depends on whether an application using an affected version processes attacker-controlled or otherwise untrusted FITS input.

3

How can I determine whether a component is vulnerable?

Check the OpenImageIO version in use and whether its FITS parser includes FitsInput::read_fits_header() in src/fits.imageio/fitsinput.cpp. Versions earlier than the listed fixed releases are affected.

4

What should be done if an update cannot be applied immediately?

Avoid processing untrusted FITS streams, particularly files that can contain repeated 2880-byte header blocks without an END keyword. This reduces the opportunity for an attacker to trigger stack exhaustion.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203