CVE-2025-59731
JSON

6.9medium

Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

Severity
6.9medium CVSS:4.0 by Google
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Google

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.

Affected

Product or packageVersionsReported by
EXRfrom 9a32b863074ed4140141e0d3613905c6f1fe61c5 before 8.0, from 7.1.1 before 8.0CVE List

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Al decodificar un archivo OpenEXR que utiliza compresión DWAA o DWAB, la longitud bruta especificada de los datos codificados por longitud de ejecución no se verifica al usarla para calcular los datos de salida. Leemos rle_raw_size del archivo de entrada en [0], descomprimimos y decodificamos en el búfer td -> rle_raw_data de tamaño rle_raw_size en [1], y luego en [2] accederemos a entradas en este búfer hasta (td -> xsize - 1) * (td -> ysize - 1) + rle_raw_size / 2, lo que puede exceder rle_raw_size. Recomendamos actualizar a la versión 8.0 o superior.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59731 changed 2026-02-26CVE Terms of Use
NVDCVE-2025-59731 changed 2026-10-19Public domain