CVE-2026-59156 PUBLISHED

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

Assigner: GitHub_M
Reserved: 02.07.2026 Published: 18.09.2026 Updated: 18.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS Score: 6.5

Product Status

Vendor AcademySoftwareFoundation
Product OpenImageIO
Versions
  • Version < 3.0.20.0 is affected
  • Version >= 3.1.0.0, < 3.1.15.0 is affected
  • Version >= 3.2.0.0-dev, < 3.2.0.3-beta1 is affected

References

Problem Types

  • CWE-674: Uncontrolled Recursion CWE