CVE-2026-27622: CWE-787: Out-of-bounds Write in AcademySoftwareFoundation openexr
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.
AI Analysis
Technical Summary
The vulnerability in openexr arises from an integer overflow in the accumulation of per-pixel totals in a vector<unsigned int> total_sizes, which wraps modulo 2^32 for large attacker-controlled counts. This results in an incorrect overall_sample_count used to resize sample buffers, causing undersized buffers. Subsequent write operations in the core unpack function overrun these buffers, leading to an out-of-bounds write (CWE-787). This can be exploited to achieve arbitrary code execution. The vulnerability is addressed in openexr versions 3.2.6, 3.3.8, and 3.4.6. Red Hat has issued security advisories and patches for affected distributions, including Red Hat Enterprise Linux 10.0 Extended Update Support.
Potential Impact
Successful exploitation of this vulnerability can lead to arbitrary code execution due to out-of-bounds writes in the openexr library when processing crafted EXR image files. This poses a significant risk to systems using vulnerable versions of openexr, potentially allowing attackers to execute code with the privileges of the user running the vulnerable application.
Mitigation Recommendations
Fixes for this vulnerability are available in openexr versions 3.2.6, 3.3.8, and 3.4.6. Users and administrators should upgrade to one of these fixed versions to remediate the issue. Red Hat has released security advisories and updated packages for affected Red Hat Enterprise Linux versions, which should be applied promptly. Patch status is confirmed by vendor advisories. No additional mitigations are indicated beyond applying these official fixes.
CVE-2026-27622: CWE-787: Out-of-bounds Write in AcademySoftwareFoundation openexr
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.
CVSS v4.0
Score 8.4high
Affected software
pkg:github/academysoftwarefoundation/openexrRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in openexr arises from an integer overflow in the accumulation of per-pixel totals in a vector<unsigned int> total_sizes, which wraps modulo 2^32 for large attacker-controlled counts. This results in an incorrect overall_sample_count used to resize sample buffers, causing undersized buffers. Subsequent write operations in the core unpack function overrun these buffers, leading to an out-of-bounds write (CWE-787). This can be exploited to achieve arbitrary code execution. The vulnerability is addressed in openexr versions 3.2.6, 3.3.8, and 3.4.6. Red Hat has issued security advisories and patches for affected distributions, including Red Hat Enterprise Linux 10.0 Extended Update Support.
Potential Impact
Successful exploitation of this vulnerability can lead to arbitrary code execution due to out-of-bounds writes in the openexr library when processing crafted EXR image files. This poses a significant risk to systems using vulnerable versions of openexr, potentially allowing attackers to execute code with the privileges of the user running the vulnerable application.
Mitigation Recommendations
Fixes for this vulnerability are available in openexr versions 3.2.6, 3.3.8, and 3.4.6. Users and administrators should upgrade to one of these fixed versions to remediate the issue. Red Hat has released security advisories and updated packages for affected Red Hat Enterprise Linux versions, which should be applied promptly. Patch status is confirmed by vendor advisories. No additional mitigations are indicated beyond applying these official fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-20T22:02:30.027Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-27622","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7678","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7682","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8863","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:12340","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:12341","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:12339","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:12338","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8870","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8869","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8871","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8872","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8888","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16008","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16030","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16009","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16174","vendor":"Red Hat"}]
Threat ID: 69a76534d1a09e29cb81f9b1
Added to database: 03/03/2026, 22:48:20 UTC
Last enriched: 07/15/2026, 08:44:05 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 169
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.