{
  "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": "908f22f5528e88e5e96184c194caa26b54b2b85f"
            }
          ],
          "repo": "https://github.com/academysoftwarefoundation/openimageio",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xh8r-vmqq-56pp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-121",
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59181.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 cineon file can supply a numberofelements value greater than the format maximum of eight. cineoninput::open() uses that unchecked value as the loop bound while filling the fixed strings[8] array, writing pointers beyond the stack buffer and into adjacent state, resulting in memory corruption and denial of service. The affected implementation is identified by src/cineon.imageio/cineoninput.cpp, CineonInput::open(), numberOfElements, and strings[8], 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-59181",
  "modified": "2026-09-20T11:30:50.504454254Z",
  "published": "2026-09-18T15:35:32.990Z",
  "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-xh8r-vmqq-56pp"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59181.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59181"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/908f22f5528e88e5e96184c194caa26b54b2b85f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5250"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OpenImageIO: Stack buffer overflow in OpenImageIO Cineon reader via unchecked numberOfElements"
}