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.
{
"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"
}{
"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"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59956.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "199998592424452235091401427862686671310",
"length": 8511
},
"id": "CVE-2026-59956-3b5a40cc",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/academysoftwarefoundation/openimageio/commit/f01bd16764b2a06f372899e3e302280a7f9c8c02",
"target": {
"file": "src/iff.imageio/iffinput.cpp",
"function": "IffInput::readimg"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"208963168431677859229232904983746503323",
"228925018930537870611021620090501172822",
"83466859484228988117646410795543519341",
"138938423595080554473825927756100904605",
"70561659021354596849004119929589670530",
"193406268149046039191025946225335223937",
"289402134538033041640652222515319476329",
"4994985424892120448493038251071011564",
"302745081132955269465673097907525729887",
"174299914815815745711260311676233136191",
"228544059038948208970181509402409440566",
"188843784191150726614277223554497845574",
"231721176367401707794575287112896608343",
"334589306839105416406999345980516433661",
"319080562732598987269201190998297654843",
"149942169405262498488257390689401583777",
"37966878942952730921077492134908930811",
"315758698185949251753420768155926451313",
"98335918608690304482742219323817166827",
"36432263238137015234202632911792864294",
"271856970571614060184829125774068659344",
"174735505949959909527531027595623904545",
"18052585306402786058050676359299688617",
"169753330419391699891942598088696601524"
],
"threshold": 0.9
},
"id": "CVE-2026-59956-b28da2f4",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/academysoftwarefoundation/openimageio/commit/f01bd16764b2a06f372899e3e302280a7f9c8c02",
"target": {
"file": "src/iff.imageio/iffinput.cpp"
}
}
]
"2026-09-20T14:24:17Z"