Ffmpeg vulnerabilities
717 vulnerabilities
Known vulnerabilities in Ffmpeg products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 5 products.
Products
5- Ffmpeg716 vulnerabilities
- Libswresample1 vulnerabilities
- MPEG DASH1 vulnerabilities
- Lavf Demuxer0 vulnerabilities
- Libavcodec0 vulnerabilities
RoutineCVE-2026-145314ffmpegffmpeg ffmpegA heap out-of-bounds write exists in the MPEG-1/2 video decoder (libavcodec/mpeg12dec.c) in FFmpeg before 6.1.7, 7.1.6, 8.0.4, 8.1.4, 9.0.3, and 9.1. When slice threading is enabled (the ffmpeg command-line default on multi-core hosts), a slice-decoding job queued while the decoder parses a codec's extradata is not flushed before the first packet is decoded, so it runs with mismatched field/frame picture geometry and writes inverse-DCT output -- with byte values controlled by the input -- past the end of the allocated luma and chroma planes. Processing a crafted MPEG-1/2 file (e.g. in an AVI, Matroska, or MP4 container) therefore corrupts heap memory.CVSS7.2HighRoutineCVE-2026-144456ffmpeg +1 moreFFmpeg 4.0 before 8.1.3 NULL Pointer Dereference via DASH Byte Range Without SeparatorFFmpeg 4.0 before 4.4.9, 5.0 before 6.1.7, 7.0 before 7.1.6, 8.0 before 8.0.4, and 8.1 before 8.1.3 contains a NULL pointer dereference vulnerability in get_fragment() (named get_Fragment() before 8.0) in libavformat/dashdec.c, which passes the tokens that av_strtok() returns for a SegmentList Initialization range or SegmentURL mediaRange attribute to strtoll() without checking them for NULL. Attackers can supply a crafted DASH MPD manifest whose range or mediaRange attribute is empty or lacks a '-' separator, crashing applications that open it with the DASH demuxer.CVSS6.8MediumEPSS0.30%RoutineCVE-2026-144455ffmpeg +1 moreFFmpeg 6.0 before 8.0.3 Out-of-Bounds Write via LoongArch LASX YUV-to-RGB Row TailFFmpeg 6.0 before 6.1.7, 7.0 before 7.1.5, and 8.0 before 8.0.3 contains an out-of-bounds write vulnerability in the LoongArch LASX YUV420P-to-RGB converters in libswscale/loongarch/yuv2rgb_lasx.c, such as yuv420_rgb24_lasx() and yuv420_rgba32_lasx(), which round the output width up to a multiple of 8 pixels and store whole 8- and 16-pixel blocks, writing up to 7 pixels past the end of each row when the width is not a multiple of 8. Attackers who control the width of YUV420P video that an application converts to packed RGB with libswscale on a LoongArch CPU with LASX, into tightly packed destination buffers, can write up to 21 bytes (24-bit formats) or 28 bytes (32-bit formats) past the end of the destination buffer, corrupting heap memory and crashing the application.CVSS5.8MediumEPSS0.27%RoutineCVE-2025-71475ffmpeg +3 moreFFmpeg 7.1 before 7.1.2 NULL Pointer Dereference via AAC USAC Decoder InitializationFFmpeg 7.1 before 7.1.2 contains a NULL pointer dereference vulnerability in the AAC decoder in libavcodec/aac/aacdec.c when initializing USAC configurations. Attackers can supply a crafted MP4 file with a malformed USAC audio configuration that causes frame_configure_elements() to write to a NULL ac->frame, crashing applications using libavcodec.CVSS6.8MediumEPSS0.29%RoutineCVE-2025-71476ffmpeg +3 moreFFmpeg 7.1 before 8.1 NULL Pointer Dereference via HEVC Slice Segment StateFFmpeg 7.1 before 8.1 contains a NULL pointer dereference vulnerability in decode_slice() in libavcodec/hevc/hevcdec.c that leaves a stale slice_initialized flag after early returns. Attackers can supply a crafted HEVC stream whose dependent slice segment decodes against inconsistent state, crashing hls_prediction_unit() and causing denial of service.CVSS6.8MediumEPSS0.29%RoutineCVE-2026-137911ffmpeg +77 moreFFmpeg before 9.1 Out-of-Bounds Read via XWD Encoder Scanline PaddingFFmpeg before 9.1 contains an out-of-bounds read vulnerability in xwd_encode_frame() in libavcodec/xwdenc.c that copies each RGB24 or BGR24 row using the padded XWD scanline size instead of the pixel row size. Attackers who control the width of video encoded to XWD by an application that supplies tightly packed frames can make the encoder read past the frame buffer, crashing the application or leaking heap contents into the output image.CVSS5.8MediumEPSS0.19%RoutineCVE-2026-137910ffmpeg +77 moreFFmpeg before 9.1 Out-of-Bounds Read via PCX Encoder Odd-Width RowsFFmpeg before 9.1 contains an out-of-bounds read vulnerability in pcx_encode_frame() in libavcodec/pcxenc.c that rounds each row up to an even number of bytes and run-length encodes that many bytes from the input frame. Attackers who control the width of images encoded to PCX by an application that supplies tightly packed frames can make the encoder read past the end of the frame buffer, crashing the application or leaking heap contents into the output image.CVSS5.8MediumEPSS0.19%RoutineCVE-2026-137909ffmpeg +76 moreFFmpeg before 9.1 NULL Pointer Dereference via XSUB Encoder Empty SubtitlesFFmpeg before 9.1 contains a NULL pointer dereference vulnerability in xsub_encode() in libavcodec/xsubenc.c that only warns when a subtitle has no rectangles and then dereferences rects[0]. Attackers can supply crafted PGS or DVB subtitles that decode to empty subtitle events, crashing applications that pass decoded subtitles directly to the XSUB encoder.CVSS5.7MediumEPSS0.24%RoutineCVE-2026-137908ffmpeg +69 moreFFmpeg 7.1 before 9.1 Memory Leak via libsvtav1 Dolby Vision EncodingFFmpeg 7.1 before 9.1 contains a memory leak vulnerability in eb_receive_packet() in libavcodec/libsvtav1.c that returns without unreferencing the queued input frame when eb_send_frame() fails. Attackers can supply crafted video in which some frames lack Dolby Vision metadata to an SVT-AV1 encode with Dolby Vision RPU coding enabled, leaking each rejected frame's buffers or aborting in av_frame_move_ref() in builds with assertions enabled.CVSS5.7MediumEPSS0.20%RoutineCVE-2026-137907ffmpeg +36 moreFFmpeg 3.0 before 8.1.3 Heap Buffer Overflow via boxblur FilterFFmpeg 3.0 before 8.1.3 contains a heap buffer overflow vulnerability in libavfilter/vf_boxblur.c because query_formats() accepts pixel formats deeper than 16 bits while the blur temporary buffers hold only 2 bytes per pixel. Attackers can supply crafted 32-bit float media, such as PFM or OpenEXR images, that when processed by the boxblur filter overflow the temporary buffers, crashing applications or possibly executing code.CVSS8.5HighEPSS0.41%RoutineCVE-2026-137906ffmpeg +36 moreFFmpeg 5.0 before 8.1.3 NULL Pointer Dereference via IMF Virtual Track Without ResourcesFFmpeg 5.0 before 8.1.3 contains a NULL pointer dereference vulnerability in the IMF demuxer in libavformat/imfdec.c because open_virtual_track() accepts a virtual track with no resources. Attackers can supply a crafted IMF Composition Playlist whose virtual track lists no resources, causing set_context_streams_from_tracks() to dereference a NULL resource array and crash the process.CVSS6.8MediumEPSS0.26%RoutineCVE-2026-137905ffmpeg +37 moreFFmpeg 5.0 before 8.1.3 NULL Pointer Dereference via IMF Asset Map Missing PathFFmpeg 5.0 before 8.1.3 contains a NULL pointer dereference vulnerability in parse_imf_asset_map_from_xml_dom() in libavformat/imfdec.c that does not check for a missing or empty Path element in an asset map Chunk. Attackers can supply a crafted IMF ASSETMAP.xml whose Chunk lacks a Path, passing a NULL URI to the path handling functions and crashing the process.CVSS6.8MediumEPSS0.26%RoutineCVE-2026-137076ffmpeg +88 moreFFmpeg through 9.1 Information Disclosure via Frame Buffer Pool ReuseFFmpeg through 9.1 contains an information disclosure vulnerability because avcodec_flush_buffers() does not release the decoder context's frame buffer pool, so recycled buffers retain prior picture data. Attackers can supply crafted damaged streams to applications reusing one decoder context across users to recover another user's decoded picture content from unwritten frame regions.CVSS2.5LowEPSS0.20%RoutineCVE-2026-135703ffmpeg +77 moreFFmpeg before 9.1 Uninitialized Memory Disclosure via RTP/ASF DepacketizerFFmpeg before 9.1 contains an uninitialized memory use vulnerability in asfrtp_parse_packet() in libavformat/rtpdec_asf.c that allows malicious RTP sources to leak heap contents by supplying an oversized ASF packet length. Attackers controlling an RTSP server with an x-asf-pf payload can set len_off beyond the RTP payload so the ASF demuxer returns stale heap memory as demuxed media data.CVSS4.8MediumEPSS0.44%RoutineCVE-2026-135704ffmpeg +77 moreFFmpeg before 9.1 Uninitialized Heap Memory Disclosure via MXG DemuxerFFmpeg before 9.1 contains an information disclosure vulnerability in the MXG demuxer's mxg_read_packet() that allows attackers to leak uninitialized heap memory through truncated marker segments. Attackers can supply a crafted MXG file ending in a truncated APP13 segment with a large declared length, causing uninitialized heap contents to be emitted as audio packet payload, for example into remuxed output files.CVSS4.8MediumEPSS0.35%RoutineCVE-2026-135705ffmpeg +73 moreFFmpeg before 9.1 Stack Out-of-Bounds Read via ff_h264_parse_framesize()FFmpeg before 9.1 contains a stack out-of-bounds read vulnerability in ff_h264_parse_framesize() in libavformat/rtpdec_h264.c when parsing an SDP a=framesize attribute lacking a height. Attackers controlling an RTSP server DESCRIBE response or a crafted .sdp file can make atoi() read past the line buffer, crashing clients or parsing stale stack bytes.CVSS6.9MediumEPSS0.45%RoutineCVE-2026-135706ffmpeg +76 moreFFmpeg before 9.1 Heap Buffer Overflow via libmodplug DemuxerFFmpeg before 9.1 contains a heap buffer overflow vulnerability in modplug_read_header() in libavformat/libmodplug.c that allocates the buffer using max_size instead of sz. When max_size is set to 0, attackers can supply crafted module files that avio_read() copies into a zero-sized buffer, causing memory corruption, crashes, or possible code execution.CVSS7.8HighEPSS0.49%RoutineCVE-2026-135707ffmpeg +77 moreFFmpeg before 9.1 Uninitialized Memory Use in NIST SPHERE DemuxerFFmpeg before 9.1 contains an uninitialized memory vulnerability in nist_read_header() in libavformat/nistspheredec.c, where an inverted ff_alloc_extradata() return check leaves the embedded-shorten extradata byte uninitialized. Attackers can supply a crafted NIST SPHERE file declaring pcm,embedded-shorten coding to leak an uninitialized heap byte into copied output or trigger a NULL pointer write on allocation failure.CVSS4.8MediumEPSS0.44%RoutineCVE-2026-135708ffmpeg +51 moreFFmpeg 8.0 before 9.1 Arbitrary File Truncation via WHIP Muxer Location HeaderFFmpeg 8.0 before 9.1 contains an improper URL scheme validation vulnerability in the WHIP muxer that allows malicious WHIP servers to create or truncate local files via the Location header. Attackers can return a file: URL that dispose_session() opens read-write with truncation on teardown, destroying arbitrary user-writable files or redirecting requests to other protocols.CVSS6.8MediumEPSS0.35%RoutineCVE-2026-135709ffmpeg +76 moreFFmpeg before 9.1 Out-of-Bounds Write via ogg_buffer_data() in oggenc.cFFmpeg before 9.1 contains an out-of-bounds write vulnerability in ogg_buffer_data() in libavformat/oggenc.c because ogg_buffer_page() leaves a full page current after failed allocation. When page allocation fails, a memset with length (size_t)-1 or an overflowing memcpy writes past the segment table, causing heap memory corruption and crashes when writing Ogg output.CVSS7.8HighEPSS0.43%