FFmpeg versions through 9.0.2 have a heap buffer overflow vulnerability in the pcm_bluray_decode_frame() function within libavcodec/pcm-bluray.c on big-endian hosts. This flaw occurs when processing crafted Blu-ray LPCM streams with payload lengths not aligned to sample size, allowing out-of-bounds writes past the audio frame buffer.
FFmpeg versions through 9.0.2 contain a heap buffer overflow vulnerability in the PSD decoder component. This flaw allows attackers to supply crafted PSD images with dimensions and channel counts that cause an integer overflow, leading to heap memory corruption on 32-bit builds. The vulnerability can result in application crashes or potentially allow code execution.
FFmpeg versions through 9.0.2 have a heap buffer overflow vulnerability in the VideoToolbox encoder component. This flaw occurs when frames larger than the encoder dimensions are copied into undersized CVPixelBuffers, especially if the input resolution grows mid-stream without rescaling. Exploiting this can cause application crashes or memory corruption.
FFmpeg versions through 9.0.2 contain a high-severity vulnerability in the aribcaption_trans_ass_subtitle() function within libavcodec/libaribcaption.c. The flaw involves an out-of-bounds read and an invalid free operation due to incorrect use of region_count instead of num_rects when freeing subtitle rectangles. Crafted ARIB captions can trigger heap corruption by exceeding the 8 KiB AVBPrint limit, leading to freeing of out-of-bounds pointers.
FFmpeg versions through 9.0.2 have a heap buffer overflow vulnerability in the aribcaption_trans_text_subtitle() function within libavcodec/libaribcaption.c. This occurs when decoding ARIB STD-B24 caption streams with zero regions, leading to a pointer write beyond a zero-sized allocation and heap memory corruption. The vulnerability has a high severity with a CVSS score of 7.0.
FFmpeg versions before 8.1.3 and 9.x before 9.0.2 have a heap buffer overflow vulnerability in the DVD subtitle encoder. This flaw arises from underestimating the RLE output size for odd-width rectangles, allowing crafted bitmap subtitle files to cause heap memory corruption during transcoding.
FFmpeg versions through 9.0.2 contain an out-of-bounds write vulnerability in the v4l2_buffer_swframe_to_buf() function within libavcodec/v4l2_buffers.c. This flaw arises because cumulative plane offsets are not properly checked against the V4L2 buffer length, allowing crafted video input to cause an unsigned wraparound and result in memcpy() writing beyond the mapped driver buffer during V4L2 M2M encoding. The vulnerability has a high severity rating with a CVSS score of 7.0.
FFmpeg versions through 9.0.2 contain a vulnerability in the Interplay ACM decoder that allows attackers to cause uncontrolled memory allocation. By supplying a crafted ACM file with maximum level and row count in extradata, an attacker can trigger decode_init() to allocate nearly a gigabyte of memory, leading to a denial of service condition.
FFmpeg versions through 9.0.2 have an out-of-bounds read vulnerability in the prores_ks encoder's get_alpha_data() function. This flaw occurs when processing interlaced ProRes 4444 video frames with alpha channels and odd heights, leading to reading memory before the blocks buffer. The vulnerability has a low severity score and does not affect confidentiality, integrity, or availability significantly.
FFmpeg versions through 9.0.2 have an unbounded memory allocation vulnerability in the av1_frame_merge bitstream filter. This flaw allows attackers to cause a denial of service by supplying a crafted .obu file that never sends a temporal delimiter OBU, leading to unlimited buffering and memory exhaustion.
FFmpeg versions through 9.0.2 contain a heap buffer overflow vulnerability in the ff_libwebp_get_frame() function within libwebpenc_common.c. This flaw allows attackers to corrupt memory by supplying crafted media that increases resolution mid-stream, causing a memcpy() operation to write pixel data beyond the bounds of a stale reference frame and potentially crash affected applications.
FFmpeg versions before 8.1.3 and 9.x before 9.0.2 contain a heap buffer overflow vulnerability in the Cook multichannel decoder. This flaw occurs because the decoder does not verify that subpacket channel masks are disjoint, allowing crafted RealMedia Cook streams with overlapping masks to cause out-of-bounds writes during decoding.
FFmpeg versions through 9.0.2 contain a heap buffer overflow vulnerability in the vaapi_hevc_start_frame() function within libavcodec/vaapi_hevc.c. This flaw arises from copying unbounded PPS tile counts into fixed-size arrays, allowing crafted HEVC bitstreams with large pictures and many tiles to corrupt heap memory during VAAPI decoding.
FFmpeg versions 7.0 before 8.1.3 and 9.x before 9.0.2 contain a heap out-of-bounds write vulnerability in the vk_av1_decode_slice() function within libavcodec/vulkan_av1.c. The vulnerability arises because the tile-count limit is only checked on entry, allowing an attacker to supply a crafted AV1 stream with more than 256 tiles decoded via the Vulkan hardware accelerator. This can lead to heap memory corruption.
FFmpeg versions through 9.0.2 have a memory leak vulnerability in the libavcodec/libx265.c component. The function libx265_encode_frame() fails to free memory allocated by ff_dovi_rpu_generate(), leading to unbounded memory growth when processing crafted Dolby Vision HEVC or AV1 files. This can cause denial of service due to resource exhaustion.
FFmpeg versions through 9.0.2 have a memory leak vulnerability in the vc1_decode_frame() function within libavcodec/vc1dec.c. The flaw occurs when init_get_bits8() fails, causing slice buffers to leak. An attacker can exploit this by supplying crafted files with repeated oversized VC-1 slices that exceed the bit reader limit, potentially exhausting the memory of applications decoding these files.
FFmpeg versions through 9.0.2 contain a memory leak vulnerability in the mediaformat_jni_setBuffer() function within libavcodec/mediacodec_wrapper.c. This flaw causes buffers wrapped with NewDirectByteBuffer() to never be freed, leading to native memory leaks. An attacker can exploit this by supplying crafted media files with large extradata, causing resource exhaustion on Android applications using MediaCodec decoders.
FFmpeg versions up to 9.0.2 contain an integer underflow vulnerability in the decode_frame() function within libavcodec/lcldec.c. This flaw allows attackers to trigger a heap out-of-bounds read by supplying crafted AVI or MKV files with short ZLIB packets using the FLAG_MULTITHREAD option. Specifically, packets shorter than 8 bytes in an LCL video stream bypass length clamping, potentially crashing the decoding application.
FFmpeg versions through 9.0.2 contain a heap buffer overflow vulnerability in the liboapve_encode() function within libavcodec/liboapvenc.c. This flaw allows attackers to corrupt heap memory by supplying video frames larger than the configured encoder dimensions, particularly when transcoding videos whose resolution changes mid-stream without rescaling. The vulnerability can lead to memory corruption with high impact on confidentiality, integrity, and availability.
FFmpeg versions through 9.0.2 have an uninitialized memory disclosure vulnerability in the adpcm_encode_frame() function within libavcodec/adpcmenc.c. This flaw causes heap memory to be leaked when encoding mono ADPCM_MS audio with trellis enabled, resulting in output packets containing stale heap data. The vulnerability has a low severity rating and a CVSS score of 2.5.