# JLSEC-2026-646: When decoding an OpenEXR file that uses DWAA or DWAB compression, there's an implicit assumption...

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-06-26T20:24:16.337Z
- Modified: 2026-07-25T18:24:42.862Z
- Related: CVE-2025-59733, GHSA-hpfq-c235-5854, EUVD-2025-32183

## Description

When decoding an OpenEXR file that uses DWAA or DWAB compression, there's an implicit assumption that all image channels have the same pixel type (and size), and that if there are four channels, the first four are "B", "G", "R" and "A". The channel parsing code can be found in `decode_header`. The buffer `td->uncompressed_data` is allocated in `decode_block` based on the xsize, ysize and computed `current_channel_offset`.

The function `dwa_uncompress` then assumes at [5] that if there are 4 channels, these are "B", "G", "R" and "A", and in the calculations at [6] and [7] that all channels are of the same type, which matches the type of the main color channels.

If we set the main color channels to a 4-byte type and add duplicate or unknown channels of the 2-byte `EXR_HALF` type, then the addition at [7] will increment the pointer by `4-bytes * xsize * nb_channels`, which will exceed the allocated buffer.

We recommend upgrading to version 8.0 or beyond.

(As written by Julia Security Advisories.)

## Affected

- FFMPEG_jll (Julia): from 7.1.1+0 before 8.0.0+0
- FFplay_jll (Julia): from 7.1.1+0 before 8.1.2+0

## References

- <https://b.corp.google.com/issues/436511754> (web)
- <https://github.com/advisories/GHSA-hpfq-c235-5854> (web)
- <https://issuetracker.google.com/436511754> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59733> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-646](https://osv.dev/vulnerability/JLSEC-2026-646), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-646 · Whole record: https://cve.day/JLSEC-2026-646.json · Rebuilt by cve.day 2026-11-25T22:56:26.187Z
