{"id":"CVE-2026-59156","state":"PUBLISHED","title":"OpenImageIO: Unbounded recursion in FITS header parser leads to stack overflow","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.","publishedAt":"2026-09-18T15:34:19.593Z","updatedAt":"2026-09-24T20:55:49.717Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["AcademySoftwareFoundation OpenImageIO"],"affected":[{"vendor":"AcademySoftwareFoundation","product":"OpenImageIO","versions":[{"version":"< 3.0.20.0","status":"affected"},{"version":">= 3.1.0.0, < 3.1.15.0","status":"affected"},{"version":">= 3.2.0.0-dev, < 3.2.0.3-beta1","status":"affected"}]}],"references":["https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-xvwr-x6ch-v2fq","https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5248","https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/b0de7d40d06eb4abc7ef14c1321a1a2a976d8c1c","https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0","https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0"],"weaknesses":["CWE-674"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59156.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59156","state":"PUBLISHED","datePublished":"2026-09-18T15:34:19.593Z","dateUpdated":"2026-09-24T20:55:49.717Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-02T16:50:27.887Z"},"containers":{"cna":{"title":"OpenImageIO: Unbounded recursion in FITS header parser leads to stack overflow","descriptions":[{"lang":"en","value":"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":[{"vendor":"AcademySoftwareFoundation","product":"OpenImageIO","versions":[{"version":"< 3.0.20.0","status":"affected"},{"version":">= 3.1.0.0, < 3.1.15.0","status":"affected"},{"version":">= 3.2.0.0-dev, < 3.2.0.3-beta1","status":"affected"}]}],"references":[{"url":"https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-xvwr-x6ch-v2fq","name":"https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-xvwr-x6ch-v2fq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5248","name":"https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5248","tags":["x_refsource_MISC"]},{"url":"https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/b0de7d40d06eb4abc7ef14c1321a1a2a976d8c1c","name":"https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/b0de7d40d06eb4abc7ef14c1321a1a2a976d8c1c","tags":["x_refsource_MISC"]},{"url":"https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0","name":"https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0","name":"https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","lang":"en","description":"CWE-674: Uncontrolled Recursion","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-18T15:34:19.593Z"},"source":{"advisory":"GHSA-xvwr-x6ch-v2fq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-xvwr-x6ch-v2fq","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-24T20:55:34.960673Z","id":"CVE-2026-59156","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-24T20:55:49.717Z"}}]}}}