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 openexr library contains an out-of-bounds write vulnerability (CWE-787) in the CompositeDeepScanLine::readPixels function. Specifically, per-pixel totals are accumulated in a vector<unsigned int> which can wrap modulo 2^32 due to attacker-controlled large counts. This wrapping causes the overall_sample_count to be underestimated, leading to undersized buffer allocation. Subsequent write operations in the generic_unpack_deep_pointers function then overrun this buffer, enabling arbitrary code execution. The issue is addressed by fixes in openexr versions 3.2.6, 3.3.8, and 3.4.6.
Potential Impact
Successful exploitation of this vulnerability can result in arbitrary code execution due to buffer overflow caused by integer overflow and out-of-bounds write. The CVSS 4.0 base score is 8.4 (high severity), reflecting local attack vector with low complexity, no privileges required, user interaction needed, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available and has been released in openexr versions 3.2.6, 3.3.8, and 3.4.6. Users and administrators should upgrade to these or later versions to remediate the vulnerability. Red Hat has issued security advisories and updated packages for affected Red Hat Enterprise Linux versions. Applying these vendor-provided updates is the recommended mitigation.
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
Run 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 openexr library contains an out-of-bounds write vulnerability (CWE-787) in the CompositeDeepScanLine::readPixels function. Specifically, per-pixel totals are accumulated in a vector<unsigned int> which can wrap modulo 2^32 due to attacker-controlled large counts. This wrapping causes the overall_sample_count to be underestimated, leading to undersized buffer allocation. Subsequent write operations in the generic_unpack_deep_pointers function then overrun this buffer, enabling arbitrary code execution. The issue is addressed by fixes in openexr versions 3.2.6, 3.3.8, and 3.4.6.
Potential Impact
Successful exploitation of this vulnerability can result in arbitrary code execution due to buffer overflow caused by integer overflow and out-of-bounds write. The CVSS 4.0 base score is 8.4 (high severity), reflecting local attack vector with low complexity, no privileges required, user interaction needed, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available and has been released in openexr versions 3.2.6, 3.3.8, and 3.4.6. Users and administrators should upgrade to these or later versions to remediate the vulnerability. Red Hat has issued security advisories and updated packages for affected Red Hat Enterprise Linux versions. Applying these vendor-provided updates is the recommended mitigation.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:8888
- Cve Count
- 1
- State
- PUBLISHED
Threat ID: 6a3da1bd4853345fc181aebe
Added to database: 06/25/2026, 21:46:37 UTC
Last enriched: 07/15/2026, 16:01:35 UTC
Last updated: 09/14/2026, 22:01:33 UTC
Views: 53
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.