CVE-2026-59156

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

State
Published
Severity
6.5 Medium
Published
Sep 18, 2026
Updated
Sep 24, 2026
Reserved
Jul 2, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

Affected Products

ProductVersions
OpenImageIOAcademySoftwareFoundation
  • < 3.0.20.0Affected
  • >= 3.1.0.0, < 3.1.15.0Affected
  • >= 3.2.0.0-dev, < 3.2.0.3-beta1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.