Skip to main content
EPSS 0.2%top 90%

CVE-2026-27622: CWE-787: Out-of-bounds Write in AcademySoftwareFoundation openexr

0
High
Published: 03/03/2026 (03/03/2026, 22:42:49 UTC)
Source: GCVE Database
Vendor/Project: AcademySoftwareFoundation
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

redhat/openexr
pkg:rpm/redhat/openexr
Affected versions
=9<9.8

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

AILast updated: 07/15/2026, 16:01:35 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses