FFmpeg versions through 9.0.2 have a division by zero vulnerability in the VVC decoder. This occurs because the function ff_vvc_slice_rpl() does not properly validate the number of active reference indices against the built reference list. An attacker can craft a VVC bitstream with excess reference indices that cause a zero picture order count difference in ff_vvc_mv_scale(), leading to a crash during decoding.
FFmpeg versions through 9.0.2 have an integer overflow vulnerability in the cbs_vp9_split_fragment() function within libavcodec/cbs_vp9.c. This overflow affects the superframe size check on 32-bit builds, allowing attackers to craft a VP9 packet with a forged superframe index that causes out-of-bounds reads and crashes the application.
FFmpeg versions up to 9.0.2 contain a memory leak vulnerability in the libavcodec/vaapi_decode.c component. This flaw allows attackers to exhaust system memory by supplying crafted video streams with slice parse errors, causing continuous leakage of VA parameter and slice buffers as well as driver and heap memory. The vulnerability affects H.264 and other VAAPI-decoded video streams where later slices fail to parse on every frame.
FFmpeg versions through 9.0.2 have an integer overflow vulnerability in the VVC decoder's alloc_frame() function on 32-bit builds. This flaw causes undersized allocation of the reference picture list, allowing crafted VVC (H.266) files with many NAL units to trigger heap out-of-bounds writes and memory corruption.
FFmpeg versions through 9.0.2 contain a heap buffer overflow vulnerability in the GIF encoder component. The flaw occurs in the gif_image_write_image() function within libavcodec/gif.c, where a buffer sized from the first frame's linesize is improperly used for subsequent frames. An attacker can exploit this by supplying PAL8 video with a frame linesize that increases mid-stream, causing a heap overflow during GIF transcoding.
FFmpeg versions 7.1 through 9.0.2 contain an integer overflow vulnerability in the ff_vk_decode_add_slice() function within libavcodec/vulkan_decode.c. This flaw causes miscalculation of the Vulkan hardware acceleration bitstream buffer size, allowing an attacker to supply a crafted stream with over 2 GiB of slice data per frame. The vulnerability results in a memcpy() operation writing beyond the bounds of a smaller pooled host-mapped buffer.
FFmpeg versions 9.0 through 9.0.2 contain an integer overflow vulnerability in the Vulkan encoder component (libavcodec/ffv1enc_vulkan.c). This flaw causes undersizing of the float remap GPU buffer for large frames, allowing attackers to trigger out-of-bounds GPU memory writes by supplying large GBRPF32 or GBRAPF32 images or videos during transcoding. The vulnerability can lead to crashes or memory corruption.
FFmpeg versions through 9.0.2 contain an integer overflow vulnerability in the dng_decode_tiles() function. This flaw allows attackers to leak uninitialized memory by crafting DNG tile dimensions with TileWidth or TileLength values near INT_MAX. The vulnerability causes the tile loop to never execute, resulting in output frames that expose uninitialized or stale heap memory. The issue has a low severity rating and a CVSS score of 3.3.
FFmpeg versions through 9.0.2 contain a denial of service vulnerability in the cbs_jpeg_assemble_fragment() function. The flaw arises from miscounting 0xff stuffing bytes in JPEG scan headers, which can cause an assertion failure and crash when processing crafted JPEG or MJPEG streams.
FFmpeg versions through 9.0.2 have a memory leak vulnerability in the ff_mjpeg_decode_sof() function within libavcodec/mjpegdec.c. This flaw occurs because the hwaccel_picture_private pointer is overwritten without being freed, allowing crafted MJPEG streams with repeated SOF markers or failing frames to cause memory leaks involving hardware acceleration buffers under VAAPI or NVDEC decoding.
FFmpeg versions before 8.1.3 and 9.x before 9.0.2 contain an out-of-bounds write vulnerability in the VVC decoder's sh_entry_points() function. This flaw allows attackers to supply a crafted VVC (H.266) bitstream that causes an overflow in entry_point_start_ctu, leading to memory corruption in the decoder.
FFmpeg versions through 9.0.2 have an uninitialized memory disclosure vulnerability in the ff_jpegls_decode_picture() function within libavcodec/jpeglsdec.c. This flaw occurs when decoding 16-bit line-interleaved JPEG-LS scans as 8-bit samples, allowing crafted single-component JPEG-LS images with the ILV byte set to 1 to cause decoded GRAY16 frames to expose leftover heap memory. The vulnerability has a low severity rating with a CVSS score of 3.3.
FFmpeg versions through 9.0.2 have a memory leak vulnerability in libavcodec/vdpau.c. This flaw allows attackers to exhaust heap memory by aborting pictures before the end_frame process. Crafted H.264 streams with malformed NAL units can repeatedly abandon pictures, causing continuous leakage of the bitstream_buffers table and resulting in denial of service.
FFmpeg versions through 9.0.2 have a heap buffer overflow vulnerability in the libavcodec/flicvideo.c component. The flaw arises because the check_pixel_ptr() function only checks one bound with negative-stride frames, allowing crafted FLIC files with malicious RLE and delta chunks to write pixel data beyond allocated frame storage. This can corrupt heap memory, potentially causing application crashes or enabling code execution.
FFmpeg versions through 9.0.2 have a resource leak vulnerability in the svt_jpegxs_dec_decode() function within libsvtjpegxsdec.c. This flaw causes decoder instances to leak when frame dimensions are rejected by ff_set_dimensions(), allowing attackers to supply crafted JPEG XS streams with oversized headers to exhaust memory by leaking decoder threads and buffers.
FFmpeg versions through 9.0.2 contain a heap buffer overflow vulnerability in the function ff_dxva2_hevc_fill_picture_parameters(). This flaw allows attackers to corrupt memory by supplying crafted HEVC bitstreams with many non-uniformly spaced tiles, leading to out-of-bounds writes during DXVA2, D3D11VA, or D3D12VA decoding on Windows systems.
FFmpeg versions through 9.0.2 have a reachable assertion vulnerability in the libxevd_receive_frame() function within libavcodec/libxevd.c. This flaw occurs when the function returns success despite an access unit producing no frame, allowing attackers to supply crafted EVC files with truncated or picture-less access units. Triggering the assertion on frame->private_ref causes the decoding application to abort.
FFmpeg versions 8.1 through 9.0.2 contain a denial of service vulnerability in the libavcodec/dpx.c component. The flaw occurs when Vulkan hardware acceleration callbacks fail, leaving allocated memory that triggers an assertion failure and crashes the decoding application when processing crafted DPX images.
FFmpeg versions through 9.0.2 have a memory leak vulnerability in the alloc_frame() function within libavcodec/vvc/refs.c. This flaw leaks SPS and PPS references when frame buffer allocation fails. An attacker can exploit this by supplying a crafted VVC (H.266) stream that repeatedly replaces parameter sets, causing memory use to grow steadily and potentially leading to denial of service.
FFmpeg versions through 9.0.2 contain a heap overflow vulnerability in the libavcodec/qsvenc.c component. This flaw occurs when input video resolution increases mid-stream without rescaling during transcoding with Intel Quick Sync encoders, leading to reuse of an undersized pooled QSVFrame buffer. Exploitation can cause application crashes or heap memory corruption.