{
  "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": "f01bd16764b2a06f372899e3e302280a7f9c8c02"
            }
          ],
          "repo": "https://github.com/academysoftwarefoundation/openimageio",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hjfv-gvxc-qgvh"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59956.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, 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.",
  "id": "CVE-2026-59956",
  "modified": "2026-09-20T11:30:21.473157713Z",
  "published": "2026-09-18T15:33:22.599Z",
  "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-hjfv-gvxc-qgvh"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59956.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59956"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/f01bd16764b2a06f372899e3e302280a7f9c8c02"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5251"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OpenImageIO: Heap-buffer-overread in IffInput::readimg() when ZBUFFER flag is set"
}