FFmpeg versions prior to 9.1 contain a stack-based buffer overflow vulnerability in the ff_rtmp_packet_write() function within libavformat/rtmppkt.c. This flaw allows a malicious RTMP server to overflow a 16-byte header buffer by sending a specially crafted Set Chunk Size packet on a high channel ID with an extended timestamp. The vulnerability can lead to corruption of the publishing client's stack, potentially resulting in high impact on confidentiality, integrity, and availability.
FFmpeg versions before 9.1 have a NULL pointer dereference vulnerability in the avformat_stream_group_create() function within libavformat/options.c. This flaw occurs because the group type is set before parameters are allocated, allowing crafted HEIF/AVIF files to trigger a NULL tile_grid dereference during tile grid parsing under allocation failure, causing application crashes.
FFmpeg versions prior to 9.1 contain a double free vulnerability in the fill_marker() function within libavformat/imf_cpl.c. This flaw occurs when a crafted Composition Playlist with a Marker Label lacking a scope attribute triggers a second free operation under memory pressure, leading to memory corruption or a crash.
FFmpeg versions before 9.1 contain a heap-based buffer overflow vulnerability in the peak_init_writer() and wav_write_packet() functions within libavformat/wavenc.c. This flaw allows attackers to supply audio data with zero channels, causing out-of-bounds writes past internal arrays, which can lead to crashes and potential code execution.
FFmpeg versions before 9.1 contain an infinite loop vulnerability in the ff_rtp_send_vc2hq() function within libavformat/rtpenc_vc2hq.c. This flaw occurs when processing crafted Dirac/VC-2 video streams remuxed to the RTP muxer, where a zero next parse offset causes the parsing pointer to never advance, resulting in indefinite CPU consumption.
FFmpeg versions 9.0 before 9.1 contain a NULL pointer dereference vulnerability in the dash_read_header() function of libavformat/dashdec.c. This occurs when building LCEVC stream groups without verifying the presence of a codecs string. An attacker can exploit this by providing a crafted MPD manifest with a representation that declares a dependencyId but omits the codecs attribute, causing applications using the DASH demuxer to crash.
FFmpeg versions before 9.1 contain a low-severity vulnerability in the dxa_read_packet() function of libavformat/dxa.c. This flaw involves uninitialized memory disclosure due to ignoring short avio_read() results for CMAP palette data. An attacker can craft a DXA stream over a stalling network source to cause uninitialized stack bytes to be copied into video packets and decoded frames.
FFmpeg versions before 9.1 contain an out-of-bounds read vulnerability in the dvdvideo_audio_stream_add_all() function within libavformat/dvdvideodec.c. This flaw occurs when parsing DVD menu audio streams that declare more than eight audio streams, leading to reading beyond the bounds of the audio_control array and causing application crashes.
FFmpeg versions 8.0 before 9.1 contain a use of uninitialized memory vulnerability in the opus_parse_packet() function within libavformat/rtpdec_opus.c. This flaw occurs when parsing empty RTP payloads, causing the function to read stale buffer memory. A malicious RTSP server or RTP sender can exploit this to cause incorrect packet durations and leak bits of stale memory.
FFmpeg versions before 9.1 contain an out-of-bounds write vulnerability in the build_frame_code() function within libavformat/nutenc.c. This flaw allows attackers to corrupt the header_len[] array by providing inputs with many audio streams. Exploiting this vulnerability can cause out-of-bounds reads past static header tables, leading to application crashes when remuxing crafted inputs to the NUT format.
FFmpeg versions before 9.1 contain a NULL pointer dereference vulnerability in the AVIF muxer component. This flaw occurs in libavformat/movenc.c when processing streams with unknown pixel formats, leading to application crashes. The vulnerability allows attackers to cause a denial of service by supplying crafted input that triggers dereferencing of unchecked results from av_pix_fmt_desc_get().
FFmpeg versions before 9.1 contain an information disclosure vulnerability in the amf_get_field_value2() function within libavformat/rtmppkt.c. This flaw causes truncated AMF strings to be NUL-terminated at the declared length rather than the actual bytes read, allowing a malicious RTMP server or client to leak uninitialized stack memory via log messages.
FFmpeg versions before 9.1 have a NULL pointer dereference vulnerability in the libavformat/mmst.c component. This flaw allows malicious MMS servers to crash clients by sending malformed ASF headers that lack packet size or stream properties. The vulnerability causes the mms_open() function to return success after freeing internal state, leading to a crash on the first read operation.
FFmpeg versions before 9.1 contain an integer overflow vulnerability in the split_planes size check within the write_packet() function in libavformat/img2enc.c. This flaw allows crafted rawvideo streams with very large width and height values to cause out-of-bounds heap reads when remuxed into .y image files, potentially leaking heap memory or crashing the application.
FFmpeg versions before 9.1 contain an XML injection vulnerability in the ttml_write_header() function within libavformat/ttmlenc.c. This flaw allows unescaped stream language metadata to be written into the xml:lang attribute, enabling attackers to inject markup into TTML documents via crafted media files such as Matroska subtitle tracks. The vulnerability has a low severity rating and does not impact confidentiality or availability but can affect integrity.
FFmpeg versions before 9.1 contain a low-severity uninitialized memory disclosure vulnerability in the vmd_read_packet() function within libavformat/sierravmd.c. This flaw causes 16 bytes of packet memory to remain unwritten for Indeo3 video frames, potentially exposing leftover heap data when processing crafted VMD files.
FFmpeg versions before 9.1 contain an out-of-bounds write vulnerability in the ogg_buffer_data() function within libavformat/oggenc.c. This occurs because ogg_buffer_page() leaves a full page current after a failed allocation, leading to a memset or memcpy operation that writes beyond the segment table. This heap memory corruption can cause crashes when writing Ogg output.
FFmpeg versions 8.0 up to but not including 9.1 contain a vulnerability in the WHIP muxer due to improper URL scheme validation. This flaw allows malicious WHIP servers to manipulate the Location header to create or truncate local files by returning a file: URL. The dispose_session() function opens such URLs with read-write access and truncation on teardown, enabling attackers to destroy arbitrary user-writable files or redirect requests to other protocols.
FFmpeg versions before 9.1 contain an uninitialized memory vulnerability in the nist_read_header() function within libavformat/nistspheredec.c. This flaw arises from an inverted check of the ff_alloc_extradata() return value, which leaves a byte of embedded-shorten extradata uninitialized. Crafted NIST SPHERE files declaring pcm,embedded-shorten coding can cause leakage of uninitialized heap memory or trigger a NULL pointer write if allocation fails. The vulnerability has a low CVSS score of 3.3 and does not indicate known exploitation in the wild.
FFmpeg versions before 9.1 contain a heap buffer overflow vulnerability in the modplug_read_header() function within libavformat/libmodplug.c. The flaw arises because the buffer is allocated using max_size instead of the actual size sz, and when max_size is zero, crafted module files can cause avio_read() to copy data into a zero-sized buffer. This leads to memory corruption, crashes, or potential code execution.