{"id":71032,"date":"2025-10-06T11:45:35","date_gmt":"2025-10-06T08:15:35","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-59733-heap-buffer-overflow-write-in-ffmpeg-exr-dwa_uncompress\/"},"modified":"2025-10-06T11:45:35","modified_gmt":"2025-10-06T08:15:35","slug":"cve-2025-59733-heap-buffer-overflow-write-in-ffmpeg-exr-dwa_uncompress","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-59733-heap-buffer-overflow-write-in-ffmpeg-exr-dwa_uncompress\/","title":{"rendered":"CVE-2025-59733 &#8211; Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress"},"content":{"rendered":"<p>CVE ID : CVE-2025-59733<\/p>\n<p>Published :  Oct. 6, 2025, 8:15 a.m. | 2\u00a0hours, 17\u00a0minutes ago<\/p>\n<p>Description : When decoding an OpenEXR file that uses DWAA or DWAB compression, there&#8217;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 &#8220;B&#8221;, &#8220;G&#8221;, &#8220;R&#8221;\u00a0and &#8220;A&#8221;. The channel parsing code can be found in decode_header.\u00a0The buffer td-&gt;uncompressed_data\u00a0is allocated in decode_block\u00a0based on the xsize, ysize\u00a0and computed current_channel_offset.<\/p>\n<p>The function dwa_uncompress\u00a0then assumes at [5] that if there are 4 channels, these are &#8220;B&#8221;, &#8220;G&#8221;, &#8220;R&#8221;\u00a0and &#8220;A&#8221;, 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.<\/p>\n<p>If we set the main color channels to a 4-byte type and add duplicate or unknown channels of the 2-byte EXR_HALF\u00a0type, then the addition at [7] will increment the pointer by 4-bytes * xsize * nb_channels, which will exceed the allocated buffer.<\/p>\n<p>We recommend upgrading to version 8.0 or beyond.<\/p>\n<p>Severity: 8.7 | HIGH<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-59733 Published : Oct. 6, 2025, 8:15 a.m. | 2\u00a0hours, 17\u00a0minutes ago Description : When decoding an OpenEXR file that uses DWAA or DWAB compression, there&#8217;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 &#8220;B&#8221;, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-71032","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=71032"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71032\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=71032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=71032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=71032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}