AcademySoftwareFoundation OpenEXR
OpenEXR has a signed 32-bit Overflow in PIZ Decoder Leads to OOB Read/Write
OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From 3.1.0 to before 3.2.7, 3.3.9, and 3.4.9, internal_exr_undo_piz() advances the working wavelet pointer with signed 32-bit arithmetic. Because nx, ny, and wcount are int, a crafted EXR file can make this product overflow and wrap. The next channel then decodes from an incorrect address. The wavelet decode path operates in place, so this yields both out-of-bounds reads and out-of-bounds writes. This vulnerability is fixed in 3.2.7, 3.3.9, and 3.4.9.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.1.0, <= 3.1.13
- >= 3.2.0, < 3.2.7
- >= 3.3.0, < 3.3.9
- >= 3.4.0, < 3.4.9
Fixed in 3.2.7, 3.3.9, 3.4.9
Mitigation
Upgrade openexr to 3.2.7 or 3.3.9 or 3.4.9 or later.
References
- Vendor advisory github.com/AcademySoftwareFoundation/openexr/s…
- Release notes github.com/AcademySoftwareFoundation/openexr/r…
- Release notes github.com/AcademySoftwareFoundation/openexr/r…
1 more
- Release notes github.com/AcademySoftwareFoundation/openexr/r…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.