FFmpeg versions through 9.0.2 contain an integer overflow vulnerability in the wavpack_encode_init() function within libavcodec/wavpackenc.c. This flaw causes an infinite loop when calculating block size from the sample rate and channel count. An attacker can exploit this by supplying a crafted audio file with a large sample rate and many channels, causing applications transcoding to WavPack to hang.
FFmpeg versions through 9.0.2 have a heap buffer overflow vulnerability in the dvbsub_encode() function within libavcodec/dvbsubenc.c. This flaw causes undercounting of each CLUT segment header by two bytes, allowing an attacker to supply a crafted file with many bitmap subtitle rectangles that, when transcoded, can overwrite heap memory.
FFmpeg versions through 9.0.2 contain a division by zero vulnerability in the estimate_motion_b() function within libavcodec/motion_est.c. This flaw arises due to frame timestamp distances being truncated to 16 bits, allowing crafted input with timestamp gaps that are multiples of 65536 to cause a crash during MPEG-4 Part 2 or MPEG-1/2 B-frame encoding. The vulnerability results in a SIGFPE signal, leading to denial of service.
FFmpeg versions 4.4 through 9.0.2 contain a NULL pointer dereference vulnerability in the ADX audio codec decoder (adxdec.c). The vulnerability arises because the function adx_decode_header() updates the channel layout before validating the sample rate, allowing crafted ADX/AAX streams with invalid sample rates to cause a crash via NULL pointer dereference.
FFmpeg versions through 9.0.2 contain an integer overflow vulnerability in the pcm_rechunk bitstream filter. This flaw allows attackers to trigger a division by zero by supplying a crafted file with an excessively large channel count. The vulnerability can cause an overflow of the sample_size variable and crash the application when remuxing into MXF, GXF, or DAUD formats.
FFmpeg versions through 9.0.2 have an out-of-bounds memory access vulnerability in the encode_frame() function of libavcodec/huffyuvenc.c. This occurs because the encode_init() function does not validate minimum frame dimensions for the median predictor, allowing attackers to supply very small video frames that cause negative lengths and out-of-bounds reads and writes during transcoding to huffyuv or ffvhuff, potentially crashing the encoder.
FFmpeg versions before 8.1.3 and 9.x before 9.0.2 contain an out-of-bounds read vulnerability in the put_vector() function of the Vorbis encoder. This occurs when NaN float samples cause the codebook entry to be -1, leading to heap reads before arrays. An attacker can exploit this by supplying crafted audio with NaN samples, potentially causing application crashes or leaking adjacent heap memory.
FFmpeg versions through 9.0.2 contain an integer overflow vulnerability in the cbs_jpeg_write_scan() function within libavcodec/cbs_jpeg.c. This flaw leads to a heap buffer overflow on 32-bit builds when processing crafted MJPEG/JPEG streams with large scans (512 MiB or more) via CBS bitstream filters such as filter_units. The vulnerability can cause heap corruption or application crashes.
FFmpeg versions through 9.0.2 have a vulnerability in the sbg_read_header() function of libavformat/sbgdec.c. This flaw allows an attacker to supply a crafted SBaGen script with an excessively high sample rate, causing uncontrolled memory allocation. The wavesynth decoder allocates very large audio frames, leading to memory exhaustion and denial of service.
FFmpeg versions through 9.0.2 have a NULL pointer dereference vulnerability in the aac_adtstoasc_filter() function. This flaw allows attackers to crash applications by supplying crafted ADTS AAC packets larger than 256 MB, causing an unchecked failure in bit count processing during remuxing of MP4, Matroska, FLV, or LATM files.
FFmpeg versions through 9.0.2 have a denial of service vulnerability in the libavcodec/vorbis_parser.c component. The flaw occurs when invalid extradata is re-parsed for every packet if valid_extradata remains false. Crafted Ogg or Matroska Vorbis streams with large invalid extradata and many packets can exhaust CPU resources during demuxing or probing.
FFmpeg versions 8.0 through 9.0.2 have a memory leak vulnerability in the VP9 decoder. The issue arises because the function vp9_decode_frame() does not reset the CBS fragment on error paths, allowing crafted VP9 streams with invalid tile sizes and slice threading to leak memory buffers. This can lead to memory exhaustion in applications using the vulnerable decoder.
FFmpeg versions up to 9.0.2 contain an integer overflow vulnerability in the hap_parse_frame_header() function within libavcodec/hapdec.c. This flaw allows attackers to craft malicious Hap video frames that trigger a heap buffer overflow on 32-bit builds, potentially causing application crashes or arbitrary code execution.
FFmpeg versions through 9.0.2 contain an uncontrolled recursion vulnerability in the score_header() function within libavcodec/flac_parser.c. This flaw allows attackers to craft a malicious FLAC input stream with many small valid-looking frame headers, causing deep recursion that exhausts the thread stack and crashes the process during demuxing or parsing.
FFmpeg versions through 9.0.2 have a deadlock vulnerability in the mimic_decode_frame() function within libavcodec/mimic.c. The issue occurs because the function fails to report frame progress when init_get_bits8() fails. An attacker can exploit this by providing a crafted file with an oversized Mimic intra frame followed by inter frames, causing frame-threaded decoding to hang indefinitely.
FFmpeg versions through 9.0.2 contain a heap buffer overflow vulnerability in the vdpau_hevc_start_frame() function within libavcodec/vdpau_hevc.c. This flaw arises from copying unbounded PPS tile counts into fixed-size VDPAU arrays, allowing crafted HEVC bitstreams with excessive tile columns or rows to overwrite heap memory. The vulnerability can lead to memory corruption in applications using VDPAU decoding.
FFmpeg versions through 9.0.2 have a heap buffer overflow vulnerability in the APNG encoder's encode_apng() function. This occurs when the frame size changes mid-stream, allowing crafted media with increasing resolution to cause out-of-bounds memory writes. This can lead to crashes or heap memory corruption during transcoding.
FFmpeg versions through 9.0.2 have an uninitialized memory use vulnerability in the roq_dpcm_encode_frame() function within libavcodec/roqaudioenc.c. This flaw occurs when encoding short audio streams under eight frames for RoQ DPCM transcoding, causing stale heap data to be included in output packets. The vulnerability has a low severity rating with limited impact.
FFmpeg versions through 9.0.2 have a NULL pointer dereference vulnerability in the libavcodec/dpxenc.c component. This flaw occurs when processing certain 12-bit RGB images, such as JPEG 2000, that are transcoded to DPX format. The vulnerability can cause the process to crash due to dereferencing NULL plane pointers, resulting in a denial of service condition.
FFmpeg versions 7.1 through 9.0.2 have a NULL pointer dereference vulnerability in the ff_dovi_rpu_generate() function within libavcodec/dovi_rpuenc.c. This flaw can be triggered by crafted Dolby Vision RPU metadata streams, causing applications to crash and resulting in denial of service.