{"id":"CVE-2025-59732","aliases":["CVE-2025-59732"],"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, there's an implicit assumption that the height and width are divisible by 8.\n\nIf the height or width of the image is not divisible by 8, the copy loops at [0] and [1] will continue to write until the next multiple of 8.\n\nThe buffer td->uncompressed_data is allocated in decode_block based on the precise height and width of the image, so the \"rounded-up\" multiple of 8 in the copy loop can exceed the buffer bounds, and the write block starting at [2] can corrupt following heap memory.\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, there's an implicit assumption that the height and width are divisible by 8.\n\nIf the height or width of the image is not divisible by 8, the copy loops at [0] and [1] will continue to write until the next multiple of 8.\n\nThe buffer td->uncompressed_data is allocated in decode_block based on the precise height and width of the image, so the \"rounded-up\" multiple of 8 in the copy loop can exceed the buffer bounds, and the write block starting at [2] can corrupt following heap memory.\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, existe una suposición implícita de que la altura y el ancho son divisibles por 8.\n\nSi la altura o el ancho de la imagen no es divisible por 8, los bucles de copia en [0] y [1] continuarán escribiendo hasta el siguiente múltiplo de 8.\n\nEl búfer td -> uncompressed_data se asigna en decode_block basándose en la altura y el ancho precisos de la imagen, por lo que el múltiplo de 8 'redondeado hacia arriba' en el bucle de copia puede exceder los límites del búfer, y el bloque de escritura que comienza en [2] puede corromper la memoria del montón subsiguiente.\n\nRecomendamos actualizar a la versión 8.0 o posterior.","source":"nvd"}],"published":"2025-10-06T08:09:31.276Z","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:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"Google","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","score":8.7,"rating":"HIGH"}],"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/436510316","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:13.138Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-59732","url":"https://www.cve.org/CVERecord?id=CVE-2025-59732","licence":"CVE Terms of Use","modified":"2026-02-26T17:48:17.578Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-59732","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59732","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"}],"updatedAt":"2026-11-25T22:59:05.558Z","epss":{"score":0.0019,"percentile":0.09023,"date":"2026-12-01T12:00:22.000Z"}}