CVE-2026-34379: CWE-704: Incorrect Type Conversion or Cast in AcademySoftwareFoundation openexr
OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From 3.2.0 to before 3.2.7, 3.3.9, and 3.4.9, a misaligned memory write vulnerability exists in LossyDctDecoder_execute() in src/lib/OpenEXRCore/internal_dwa_decoder.h:749. When decoding a DWA or DWAB-compressed EXR file containing a FLOAT-type channel, the decoder performs an in-place HALF→FLOAT conversion by casting an unaligned uint8_t * row pointer to float * and writing through it. Because the row buffer may not be 4-byte aligned, this constitutes undefined behavior under the C standard and crashes immediately on architectures that enforce alignment (ARM, RISC-V, etc.). On x86 it is silently tolerated at runtime but remains exploitable via compiler optimizations that assume aligned access. This vulnerability is fixed in 3.2.7, 3.3.9, and 3.4.9.
AI Analysis
Technical Summary
OpenEXR versions prior to 3.2.7, 3.3.9, and 3.4.9 contain a vulnerability in LossyDctDecoder_execute() where an unaligned memory write occurs during HALF to FLOAT conversion of DWA/DWAB-compressed EXR files. The decoder casts an unaligned uint8_t * row pointer to float * and writes through it, causing undefined behavior and potential crashes on architectures like ARM and RISC-V that enforce alignment. On x86, this is tolerated at runtime but can be exploited due to compiler assumptions about alignment. This vulnerability is addressed by fixes in versions 3.2.7, 3.3.9, and 3.4.9.
Potential Impact
This vulnerability can cause application crashes (denial of service) on architectures enforcing strict memory alignment (e.g., ARM, RISC-V) when processing crafted EXR files. On x86 architectures, it may lead to undefined behavior exploitable via compiler optimizations, potentially impacting application stability or security. There is no direct evidence of confidentiality or integrity compromise, but availability is affected due to crashes.
Mitigation Recommendations
Fixed versions 3.2.7, 3.3.9, and 3.4.9 of openexr address this vulnerability. Users should upgrade to one of these versions to remediate the issue. No vendor advisory indicates alternative mitigations or that no action is required. Patch status is confirmed by the vendor advisory. No cloud service remediation applies as this is a library.
CVE-2026-34379: CWE-704: Incorrect Type Conversion or Cast 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. From 3.2.0 to before 3.2.7, 3.3.9, and 3.4.9, a misaligned memory write vulnerability exists in LossyDctDecoder_execute() in src/lib/OpenEXRCore/internal_dwa_decoder.h:749. When decoding a DWA or DWAB-compressed EXR file containing a FLOAT-type channel, the decoder performs an in-place HALF→FLOAT conversion by casting an unaligned uint8_t * row pointer to float * and writing through it. Because the row buffer may not be 4-byte aligned, this constitutes undefined behavior under the C standard and crashes immediately on architectures that enforce alignment (ARM, RISC-V, etc.). On x86 it is silently tolerated at runtime but remains exploitable via compiler optimizations that assume aligned access. This vulnerability is fixed in 3.2.7, 3.3.9, and 3.4.9.
CVSS v3.1
Score 7.1high
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
OpenEXR versions prior to 3.2.7, 3.3.9, and 3.4.9 contain a vulnerability in LossyDctDecoder_execute() where an unaligned memory write occurs during HALF to FLOAT conversion of DWA/DWAB-compressed EXR files. The decoder casts an unaligned uint8_t * row pointer to float * and writes through it, causing undefined behavior and potential crashes on architectures like ARM and RISC-V that enforce alignment. On x86, this is tolerated at runtime but can be exploited due to compiler assumptions about alignment. This vulnerability is addressed by fixes in versions 3.2.7, 3.3.9, and 3.4.9.
Potential Impact
This vulnerability can cause application crashes (denial of service) on architectures enforcing strict memory alignment (e.g., ARM, RISC-V) when processing crafted EXR files. On x86 architectures, it may lead to undefined behavior exploitable via compiler optimizations, potentially impacting application stability or security. There is no direct evidence of confidentiality or integrity compromise, but availability is affected due to crashes.
Mitigation Recommendations
Fixed versions 3.2.7, 3.3.9, and 3.4.9 of openexr address this vulnerability. Users should upgrade to one of these versions to remediate the issue. No vendor advisory indicates alternative mitigations or that no action is required. Patch status is confirmed by the vendor advisory. No cloud service remediation applies as this is a library.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-27T13:43:14.370Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-34379","vendor":"Red Hat"}]
Threat ID: 69d3d1a00a160ebd92c130df
Added to database: 04/06/2026, 15:30:40 UTC
Last enriched: 07/15/2026, 09:02:41 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 134
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.