{"schema_version":"1.6.0","id":"XYZ-2026-00162","modified":"2026-11-25T21:48:55Z","published":"2026-11-13T19:45:47Z","summary":"OpenEXR: integer overflow in deep-image compositing reads and writes outside the heap buffer","affected":[{"package":{"ecosystem":"PyPI","name":"openexr"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.17"},{"introduced":"3.4.0"},{"fixed":"3.4.19"},{"introduced":"3.5.0"},{"fixed":"3.5.5"}]}]}],"references":[{"type":"WEB","url":"https://packages.cyberxyz.io/xyz/XYZ-2026-00162"},{"type":"FIX","url":"https://github.com/academysoftwarefoundation/openexr/commit/878f6a4c87218c3856d1b928a9f0b84940ea5e07"}],"credits":[{"name":"CyberXYZ Security Threat Intel Team","contact":["https://cyberxyz.io"],"type":"ANALYST"}],"database_specific":{"cyberxyz":{"status":"confirmed","status_label":"Advisory published","public_state":"full","exploitability_tier":"limited","exploitability_tier_label":"Limited","first_detected_at":"2026-11-13T19:40:27.915626+00:00","fixed_versions":["3.3.17","3.4.19","3.5.5"],"upgrade_guidance":"A security fix was released in openexr 3.3.17, 3.4.19, 3.5.5. Upgrade to the fixed release on your line (3.3.17, 3.4.19, 3.5.5) or later.","dispute":{"url":"/api/v1/disputes","subject_type":"advisory","subject_id":"XYZ-2026-00162","ecosystem":"pypi","note":"Think this record is wrong? Tell us; we respond within 2 business days."},"url":"https://packages.cyberxyz.io/xyz/XYZ-2026-00162","writeup":{"what":"`CompositeDeepScanLine` computed a per-scanline pixel index in a 32-bit signed integer. For deep images whose combined data window is wider than about 1.07 billion pixels, the multiplication overflowed to a negative value that was then used to index internal buffers. The buffers themselves were sized correctly with 64-bit arithmetic.","impact":"An out-of-bounds heap read and write, giving heap corruption and a reliable crash. The maintainers call code execution plausible but not demonstrated. Reaching the overflow needs a host with roughly 8 GB of memory or more, which is normal on rendering systems.","affected":"Applications that composite deep EXR files from untrusted sources through `CompositeDeepScanLine::addSource()` and `readPixels()`. The advisory is written for the C++ library; the PyPI package `openexr` ships the same library code. We have not checked whether the Python bindings reach this code path.","action":"Upgrade to OpenEXR 3.5.5, or to 3.4.19 or 3.3.17 on the older lines. Until then, do not composite deep EXR files from sources you do not trust.","title":"OpenEXR: integer overflow in deep-image compositing reads and writes outside the heap buffer","credit":"Reported to the maintainers by @manus-pi and @manus-use and fixed by the OpenEXR maintainers. Advisory: GHSA-hjw7-cqx6-rwq5."},"exploitability_score":41,"severity":"high","cwe":"CWE-190","fix_commits":["878f6a4c87218c3856d1b928a9f0b84940ea5e07"],"feed_leads":[]},"cwe_ids":["CWE-190"]},"details":"## What was wrong\n\n`CompositeDeepScanLine` computed a per-scanline pixel index in a 32-bit signed integer. For deep images whose combined data window is wider than about 1.07 billion pixels, the multiplication overflowed to a negative value that was then used to index internal buffers. The buffers themselves were sized correctly with 64-bit arithmetic.\n\n## Impact\n\nAn out-of-bounds heap read and write, giving heap corruption and a reliable crash. The maintainers call code execution plausible but not demonstrated. Reaching the overflow needs a host with roughly 8 GB of memory or more, which is normal on rendering systems.\n\n## Who is affected\n\nApplications that composite deep EXR files from untrusted sources through `CompositeDeepScanLine::addSource()` and `readPixels()`. The advisory is written for the C++ library; the PyPI package `openexr` ships the same library code. We have not checked whether the Python bindings reach this code path.\n\n## What to do\n\nUpgrade to OpenEXR 3.5.5, or to 3.4.19 or 3.3.17 on the older lines. Until then, do not composite deep EXR files from sources you do not trust.\n\nReported to the maintainers by @manus-pi and @manus-use and fixed by the OpenEXR maintainers. Advisory: GHSA-hjw7-cqx6-rwq5.","aliases":["GHSA-hjw7-cqx6-rwq5"]}