cbcvebase.
CVE-2025-59733
published 2025-10-06

CVE-2025-59733: 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)…

PriorityP340high8.7CVSS 4.0
AVAACHATNPRNUIPVCHVIHVANSCHSIHSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.17%
6.9th percentile
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.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianffmpeg< ffmpeg 7:5.1.7-0+deb12u1 (bookworm)ffmpeg 7:5.1.7-0+deb12u1 (bookworm)
ffmpegffmpeg>= 0 < 7:5.1.7-0+deb12u17:5.1.7-0+deb12u1
ffmpegffmpeg>= 0 < 7:7.1.2-0+deb13u17:7.1.2-0+deb13u1
ffmpegffmpeg>= 0 < 7:7.1.2-17:7.1.2-1
ffmpegffmpeg>= 0 < 7:7.1.1-1ubuntu4.27:7.1.1-1ubuntu4.2
ffmpegffmpeg>= 0 < 7:2.8.17-0ubuntu0.1+esm147:2.8.17-0ubuntu0.1+esm14
ffmpegffmpeg>= 0 < 7:3.4.11-0ubuntu0.1+esm127:3.4.11-0ubuntu0.1+esm12
ffmpegffmpeg>= 0 < 7:4.2.7-0ubuntu0.1+esm127:4.2.7-0ubuntu0.1+esm12
ffmpegffmpeg>= 0 < 7:4.4.2-0ubuntu0.22.04.1+esm117:4.4.2-0ubuntu0.22.04.1+esm11
ffmpegffmpeg>= 0 < 7:6.1.1-3ubuntu5+esm77:6.1.1-3ubuntu5+esm7
ffmpegffmpeg>= 7.1.1 < 8.08.0
ffmpegffmpeg>= 9a32b863074ed4140141e0d3613905c6f1fe61c5 < 8.08.0

CVSS provenance

nvdv4.08.7HIGHCVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
osv8.7HIGH
vendor_debian8.7HIGH
vendor_redhat8.7HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.