| Name | CVE-2025-59731 |
| Description | When decoding an OpenEXR file that uses DWAA or DWAB compression, the specified raw length of run-length-encoded data is not checked when using it to calculate the output data. We read rle_raw_size from the input file at [0], we decompress and decode into the buffer td->rle_raw_data of size rle_raw_size at [1], and then at [2] we will access entries in this buffer up to (td->xsize - 1) * (td->ysize - 1) + rle_raw_size / 2, which may exceed rle_raw_size. We recommend upgrading to version 8.0 or beyond. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-5985-1, DSA-6007-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ffmpeg (PTS) | bullseye | 7:4.3.7-0+deb11u1 | vulnerable |
| bullseye (security) | 7:4.3.9-0+deb11u1 | vulnerable | |
| bookworm, bookworm (security) | 7:5.1.7-0+deb12u1 | fixed | |
| trixie | 7:7.1.1-1 | vulnerable | |
| trixie (security) | 7:7.1.2-0+deb13u1 | fixed | |
| forky, sid | 7:7.1.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ffmpeg | source | bookworm | 7:5.1.7-0+deb12u1 | DSA-5985-1 | ||
| ffmpeg | source | trixie | 7:7.1.2-0+deb13u1 | DSA-6007-1 | ||
| ffmpeg | source | (unstable) | 7:7.1.2-1 |
https://issuetracker.google.com/issues/436510153
Fixed by: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/0d9c003d76383e82b57b6d5aa33776709d0cda2c (n8.0)
Fixed by: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/d7e188f33f638d85a1ab70943bde70359454b05c (n7.1.2)
Fixed by: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/be682029ae18b80fa9b27f0715ca77323409379c (n6.1.3)
Fixed by: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/ec959281897aa29076f3083edbc2306357342d7c (n5.1.7)