{"id":"CVE-2026-59956","state":"PUBLISHED","title":"OpenImageIO: Heap-buffer-overread in IffInput::readimg() when ZBUFFER flag is set","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, An uncompressed 16-bit iff image with a z-buffer makes iffinput::readimg() allocate a temporary scanline from m_header.rgba_count but copy from it using m_header.pixel_bytes(), whose stride also includes z-buffer bytes. the oversized memcpy reads beyond the temporary heap buffer and copies adjacent memory into the output image, resulting in a crash or disclosure of adjacent heap data. The affected implementation is identified by src/iff.imageio/iffinput.cpp, IffInput::readimg(), m_header.rgba_count, and m_header.pixel_bytes(), 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:33:22.599Z","updatedAt":"2026-09-18T17:41:48.491Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/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-hjfv-gvxc-qgvh","https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5251","https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/f01bd16764b2a06f372899e3e302280a7f9c8c02","https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0","https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59956.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59956","state":"PUBLISHED","datePublished":"2026-09-18T15:33:22.599Z","dateUpdated":"2026-09-18T17:41:48.491Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-07T18:49:15.607Z"},"containers":{"cna":{"title":"OpenImageIO: Heap-buffer-overread in IffInput::readimg() when ZBUFFER flag is set","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, An uncompressed 16-bit iff image with a z-buffer makes iffinput::readimg() allocate a temporary scanline from m_header.rgba_count but copy from it using m_header.pixel_bytes(), whose stride also includes z-buffer bytes. the oversized memcpy reads beyond the temporary heap buffer and copies adjacent memory into the output image, resulting in a crash or disclosure of adjacent heap data. The affected implementation is identified by src/iff.imageio/iffinput.cpp, IffInput::readimg(), m_header.rgba_count, and m_header.pixel_bytes(), 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-hjfv-gvxc-qgvh","name":"https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-hjfv-gvxc-qgvh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5251","name":"https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5251","tags":["x_refsource_MISC"]},{"url":"https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/f01bd16764b2a06f372899e3e302280a7f9c8c02","name":"https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/f01bd16764b2a06f372899e3e302280a7f9c8c02","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":"LOCAL","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-18T15:33:22.599Z"},"source":{"advisory":"GHSA-hjfv-gvxc-qgvh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-hjfv-gvxc-qgvh","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-18T17:41:21.102766Z","id":"CVE-2026-59956","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-18T17:41:48.491Z"}}]}}}