CyberRota Analysis
AI-GeneratedFFmpeg versions from 3.0 to just below 9.0 are vulnerable to an uninitialized heap memory read in the RSCC decoder, which can lead to the disclosure of sensitive heap memory contents when processing specially crafted video files. This vulnerability arises from insufficient validation of decompressed byte counts, allowing attackers to exploit the flaw and access potentially sensitive data from previous allocations. Organizations utilizing affected FFmpeg versions, particularly those in media processing or streaming services, should prioritize patching to mitigate the risk of data exposure.
Original NVD Description
FFmpeg versions from 3.0 up to, but not including, 9.0 contain an uninitialized heap memory read vulnerability in the native RSCC decoder (libavcodec/rscc.c) that allows attackers to disclose heap memory contents by supplying a crafted video file with a compressed tile that decompresses fewer bytes than the declared tile geometry requires. When rscc_decode_frame() calls av_image_copy_plane() without validating the decompressed byte count against the tile dimensions, the unwritten suffix of the persistent intermediate buffer ctx->inflated_buf is copied into the decoded frame, potentially exposing data from prior heap allocations or previous decoded frames in persistent decoding services.