CWE-787: Out-of-bounds Write in AcademySoftwareFoundation openexr (CVE-2026-27622)
CVE-2026-27622 is a high-severity vulnerability in the AcademySoftwareFoundation's openexr library, an implementation of the EXR image file format. The flaw is an out-of-bounds write caused by integer overflow in the CompositeDeepScanLine::readPixels function, where attacker-controlled large counts cause vector size wrapping and buffer overruns during sample decoding. This can lead to arbitrary code execution. The vulnerability affects multiple version ranges and has been fixed in versions 3.2.6, 3.3.8, and 3.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.
CWE-787: Out-of-bounds Write in AcademySoftwareFoundation openexr (CVE-2026-27622)
Description
CVE-2026-27622 is a high-severity vulnerability in the AcademySoftwareFoundation's openexr library, an implementation of the EXR image file format. The flaw is an out-of-bounds write caused by integer overflow in the CompositeDeepScanLine::readPixels function, where attacker-controlled large counts cause vector size wrapping and buffer overruns during sample decoding. This can lead to arbitrary code execution. The vulnerability affects multiple version ranges and has been fixed in versions 3.2.6, 3.3.8, and 3.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
- Additional Cves
- []
- Cvss Version
- null
Threat ID: 6a3da1bd4853345fc181aebe
Added to database: 06/25/2026, 21:46:37 UTC
Last enriched: 07/15/2026, 16:01:35 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 27
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.