# CVE-2026-27622: OpenEXR CompositeDeepScanLine integer-overflow leads to heap OOB write

- Severity: High 8.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-02T18:30:20.000Z
- Modified: 2026-09-09T12:04:51.973Z
- Also known as: GHSA-cr4v-6jm6-4963, PYSEC-2026-2846
- Weaknesses: CWE-190, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. In CompositeDeepScanLine::readPixels, per-pixel totals are accumulated in vector<unsigned int> total_sizes for attacker-controlled large counts across many parts, total_sizes[ptr] wraps modulo 2^32.  overall_sample_count is then derived from wrapped totals and used in samples[channel].resize(overall_sample_count). Decode pointer setup/consumption proceeds with true sample counts, and write operations in core unpack (generic_unpack_deep_pointers) overrun the undersized composite sample buffer. This vulnerability is fixed in v3.2.6, v3.3.8, and v3.4.6.

(As written by CVE List.)

## Affected

- AcademySoftwareFoundation openexr: >= 2.3.0, < 3.2.6; >= 3.3.0, < 3.3.8; >= 3.4.0, < 3.4.6
- openexr: no versions given (not affected: from 0:3.1.10-8.el10_1.1 before *; from 0:3.1.10-8.el10_0.1 before *; from 0:2.2.0-12.el8_10.1 before *; from 0:2.2.0-11.el8_2.1 before *; from 0:2.2.0-12.el8_4.1 before *; from 0:2.2.0-12.el8_6.1 before *; from 0:2.2.0-12.el8_8.1 before *; from 0:3.1.1-3.el9_7.1 before *; from 0:3.1.1-2.el9_0.2 before *; from 0:3.1.1-2.el9_2.2 before *; from 0:3.1.1-2.el9_4.2 before *; from 0:3.1.1-3.el9_6.1 before *)
- rhaiis/model-opt-cuda-rhel9: no versions given (not affected: from 1778244559 before *)
- rhaiis/vllm-rocm-rhel9: no versions given (not affected: from 1778244531 before *)
- rhaiis/vllm-cuda-rhel9: no versions given (not affected: from 1778274666 before *)
- rhaiis/vllm-spyre-rhel9: no versions given (not affected: from 1778244546 before *)
- openexr (PyPI): from 2.3.0 before 3.2.6; from 3.3.0 before 3.3.8; from 3.4.0 before 3.4.6
- openexr openexr: before 3.2.6; from 3.3.0 before 3.3.8; from 3.4.0 before 3.4.6

## Every score

- GitHub_M: CVSS:4.0 8.4 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- redhat-SADP: CVSS:3.1 7.4 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-cr4v-6jm6-4963> (exploit, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-27622> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2444251> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27622.json>
- <https://access.redhat.com/errata/RHSA-2026:7678> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7682> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8863> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:12340> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:12341> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:12339> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:12338> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8870> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8869> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8871> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8872> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8888> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16008> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16030> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16009> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16174> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27622> (advisory)
- <https://github.com/AcademySoftwareFoundation/openexr> (package)
- <https://pypi.org/project/openexr> (package)
- <https://github.com/advisories/GHSA-cr4v-6jm6-4963> (advisory)

## Sources

- CVE List: [CVE-2026-27622](https://www.cve.org/CVERecord?id=CVE-2026-27622), CVE Terms of Use, modified 2026-09-09
- GitHub Advisory Database: [GHSA-cr4v-6jm6-4963](https://github.com/advisories/GHSA-cr4v-6jm6-4963), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-27622](https://nvd.nist.gov/vuln/detail/CVE-2026-27622), Public domain, modified 2026-07-15
- PyPA Advisory Database: [PYSEC-2026-2846](https://osv.dev/vulnerability/PYSEC-2026-2846), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-27622 · Whole record: https://cve.day/CVE-2026-27622.json · Rebuilt by cve.day 2026-11-25T22:59:15.146Z
