{"id":"CVE-2025-59731","aliases":["CVE-2025-59731"],"related":[],"kind":"vulnerability","state":"published","title":"Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress","summary":"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.\n\nWe 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.\n\n\n\n\nWe recommend upgrading to version 8.0 or beyond.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nWe 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.\n\n\n\n\nWe recommend upgrading to version 8.0 or beyond.","source":"cvelist"},{"lang":"es","text":"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.\n\nLeemos 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.\n\nRecomendamos actualizar a la versión 8.0 o superior.","source":"nvd"}],"published":"2025-10-06T08:09:23.410Z","modified":"2026-10-19T16:10:00.260Z","severity":{"scorer":"Google","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"Google","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","score":6.9,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"custom","introduced":"9a32b863074ed4140141e0d3613905c6f1fe61c5","fixed":"8.0","status":"affected"},{"type":"semver","introduced":"7.1.1","fixed":"8.0","status":"affected"}],"vendor":"FFmpeg","product":"FFmpeg","package":"EXR","repo":"https://git.ffmpeg.org/ffmpeg.git","source":"cvelist"}],"references":[{"url":"https://issuetracker.google.com/436510153","tags":[],"sources":["cvelist","nvd"]}],"credits":["Google Big Sleep"],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-08T03:55:11.920Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-59731","url":"https://www.cve.org/CVERecord?id=CVE-2025-59731","licence":"CVE Terms of Use","modified":"2026-02-26T17:48:18.117Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-59731","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59731","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"}],"updatedAt":"2026-11-25T22:59:05.558Z","epss":{"score":0.00175,"percentile":0.07375,"date":"2026-12-01T12:00:22.000Z"}}