{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.0.20.0"
              },
              {
                "introduced": "3.1.0.0"
              },
              {
                "fixed": "3.1.15.0"
              },
              {
                "introduced": "3.2.0.0-dev"
              },
              {
                "fixed": "3.2.0.3-beta1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "a0940a9f1e4a8ff20edc9d550a4dea4723d1aa58"
            },
            {
              "fixed": "49696331774f2da1f136c4217e23c1e4d920a376"
            },
            {
              "fixed": "cbe57bc005678ca310835473568121719861734c"
            },
            {
              "fixed": "45414c1aedcd3cc98244b4c5802ec53e91976f70"
            },
            {
              "fixed": "b0de7d40d06eb4abc7ef14c1321a1a2a976d8c1c"
            }
          ],
          "repo": "https://github.com/academysoftwarefoundation/openimageio",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xvwr-x6ch-v2fq"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59156.json"
  },
  "details": "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.",
  "id": "CVE-2026-59156",
  "modified": "2026-09-20T11:30:32.858938663Z",
  "published": "2026-09-18T15:34:19.593Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-xvwr-x6ch-v2fq"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59156.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59156"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/b0de7d40d06eb4abc7ef14c1321a1a2a976d8c1c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5248"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OpenImageIO: Unbounded recursion in FITS header parser leads to stack overflow"
}