Ffmpeg FFmpeg

Don't miss out!

Thousands of developers use stack.watch to stay informed.
Get an email whenever new security vulnerabilities are reported in FFmpeg.

By the Year

In 2026 there have been 187 vulnerabilities in FFmpeg with an average score of 6.5 out of ten. Last year, in 2025 Ffmpeg had 26 security vulnerabilities published. That is, 161 more vulnerabilities have already been reported in 2026 as compared to last year. Last year, the average CVE base score was greater by 0.10




Year Vulnerabilities Average Score
2026 187 6.53
2025 26 6.63
2024 38 7.79
2023 8 7.31
2022 29 6.22
2021 64 7.57
2020 3 7.15
2019 11 8.23
2018 25 7.35

It may take a day or so for new Ffmpeg vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.

Recent FFmpeg Security Vulnerabilities

FFmpeg 7.0-9.0.2 libavformat OOB read in dvdvideodec.c
CVE-2026-133519 6.8 - Medium - November 20, 2026

FFmpeg 7.0 through 9.0.2 contains an out-of-bounds read vulnerability in dvdvideo_menu_next_ps_block() in libavformat/dvdvideodec.c when demuxing DVD menu domains. Attackers can craft a DVD image whose last cell sector and NAV next-VOBU pointer bypass the end-of-cell check, overreading pgc->cell_playback and crashing the process.

Out-of-bounds Read

FFmpeg 9.0.2 Heap OOB Read in v4l2_buffer_swframe_to_buf (libavcodec)
CVE-2026-125270 5.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a heap out-of-bounds read vulnerability in v4l2_buffer_swframe_to_buf() in libavcodec/v4l2_buffers.c that mishandles frames with negative linesize. Attackers can supply bottom-up AVI or PNM/PFM files that are transcoded to a V4L2 M2M encoder, crashing the application or leaking heap memory into encoded output.

Out-of-bounds Read

FFmpeg <=9.0.2 libavcodec double-free (cbs_sei)
CVE-2026-125269 7.3 - High - November 09, 2026

FFmpeg through 9.0.2 contains a double free vulnerability in libavcodec/cbs_sei.c where cbs_sei_delete_message() leaves a stale extension_data reference that ff_cbs_sei_add_message() reuses. Attackers can supply a crafted H.264 stream with a display orientation SEI message followed by payload extension data, processed by h264_metadata with display_orientation=insert, to corrupt heap memory.

Double-free

FFmpeg <=9.0.2 CineForm HD decoder uninitialized memory info leak
CVE-2026-125268 4.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains an uninitialized memory disclosure vulnerability in the CineForm HD decoder that allows attackers to leak heap memory via unzeroed idwt_tmp buffers in libavcodec/cfhd.c. Attackers can supply a crafted CFHD file with an ImageHeight tag exceeding coded band heights, causing uninitialized heap bytes to be filtered into decoded video output.

Use of Uninitialized Resource

FFmpeg <8.1.3 & <9.0.2 heap OOB write in libavcodec APAC decoder
CVE-2026-125267 8.5 - High - November 09, 2026

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the APAC decoder in libavcodec/apac.c caused by an unreset bitstream index. Attackers can supply a crafted APAC file whose growing bitstream_index triggers an integer overflow, bypassing the reallocation check so memcpy() corrupts heap memory or crashes the application.

Integer Overflow or Wraparound

FFmpeg 9.0.2 libavcodec stack memory disclosure (old_codec23)
CVE-2026-125266 4.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains an uninitialized stack memory disclosure vulnerability in old_codec23() of libavcodec/sanm.c that leaks stack bytes into decoded frames. Attackers can supply a crafted LucasArts SMUSH/SANM animation using codec 23 with an inline table to expose decoder process stack memory in output video.

Use of Uninitialized Resource

FFmpeg <=9.0.2 libavcodec nvdec Use-After-Free
CVE-2026-125265 5.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a use-after-free vulnerability in libavcodec/nvdec.c because ff_nvdec_start_frame() fails to reset ctx->bitstream after slice errors. Attackers can supply crafted video that abandons a picture before end_frame, causing cuvidDecodePicture() to read freed heap memory, crashing applications or exposing stale heap contents.

Dangling pointer

FFmpeg <=9.0.2 libavcodec JPEGXL parser CPU DoS
CVE-2026-125264 6.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains an uncontrolled resource consumption vulnerability in parse_frame_header() in libavcodec/jpegxl_parser.c that fails to validate TOC entry counts against remaining input. Attackers can supply a crafted JPEG XL frame header with a permuted TOC and huge toc_count, making the parser loop excessively and exhaust CPU.

Unchecked Input for Loop Condition

FFmpeg 9.09.0.2 liblcevc_dec LCEVC dimension OOB allocation
CVE-2026-125263 5.7 - Medium - November 09, 2026

FFmpeg 9.0 through 9.0.2 built with liblcevc_dec fails to validate LCEVC enhanced output dimensions against max_pixels in libavcodec/decode.c before frame allocation. Attackers can supply crafted H.264, HEVC or VVC streams declaring huge LCEVC resolutions to force oversized get_buffer2() allocations and exhaust memory.

Stack Exhaustion

FFmpeg <=9.0.2 heap buffer overflow in libavcodec LCEVC decoder
CVE-2026-125262 8.5 - High - November 09, 2026

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/lcevcdec.c because LCEVC output picture dimensions are not validated against the allocated frame. Attackers can embed crafted LCEVC enhancement data with differing global configurations in H.264 or HEVC streams to corrupt heap memory in decoding applications.

Memory Corruption

FFmpeg 9.0.2 libavcodec SGI encoder OOB read
CVE-2026-125261 6.9 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in the SGI encoder's encode_frame() in libavcodec/sgienc.c, where unsigned size variables mis-handle negative linesize frames. Attackers can supply a video whose display matrix triggers autorotate vflip, so transcoding to SGI images reads pixel data far outside the frame and crashes the process.

Out-of-bounds Read

FFmpeg <=9.0.2 heap buffer overflow in libavcodec EXR encoder
CVE-2026-125260 7.3 - High - November 09, 2026

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/exrenc.c that allows attackers to corrupt heap memory when encode_scanline_rle() processes frames taller than the encoder height. Attackers can supply crafted input whose resolution grows mid-stream, transcoded to OpenEXR with RLE compression, to write pointers past the scanline array and crash the application.

Heap-based Buffer Overflow

FFmpeg 9.0.2 ProRes KS encoder integer overflow heap corruption
CVE-2026-125259 8.5 - High - November 09, 2026

FFmpeg through 9.0.2 contains an integer overflow vulnerability in ff_prores_kostya_encode_init() that miscalculates frame_size_upper_bound using 32-bit arithmetic for large frame dimensions. Attackers can supply a high-resolution video transcoded with the prores_ks encoder, causing encode_frame() to write slices past an undersized packet buffer and corrupt heap memory.

Integer Overflow or Wraparound

FFmpeg <=9.0.2 libavcodec dovi_configure_ext DivisionbyZero DoS
CVE-2026-125258 5.7 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a division by zero vulnerability in dovi_configure_ext() in libavcodec/dovi_rpuenc.c that allows attackers to crash the process via an unvalidated frame rate denominator. Attackers can supply a crafted HEVC or AV1 input with a nonzero frame rate numerator and zero denominator to the dovi_rpu bitstream filter or libx265, libaom, or libsvtav1 encoders, causing denial of service.

Divide By Zero

FFmpeg <=9.0.2 libavcodec Nellymoser offbyone heap overflow
CVE-2026-125257 7.3 - High - November 09, 2026

FFmpeg through 9.0.2 contains an off-by-one heap overflow vulnerability in get_exponent_dynamic() in libavcodec/nellymoserenc.c that allows writing one element past the opt and path allocations. Attackers can supply crafted audio to applications encoding Nellymoser with trellis enabled, causing idx to equal OPT_SIZE and overwrite adjacent heap memory.

off-by-five

FFmpeg 9.0.2 heap OOB in Huffyuv encoder (RVV)
CVE-2026-125256 7.3 - High - November 09, 2026

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in ff_llvidenc_diff_bytes_rvv() that allows attackers to corrupt heap memory by triggering negative length values in the Huffyuv encoder. Attackers can supply RGB video narrower than 8 or 16 pixels for huffyuv transcoding on RVV-enabled RISC-V builds, causing writes past the encoder's temp buffer.

Memory Corruption

FFmpeg 9.0.2 libavcodec mjpegdec Use-After-Free (heap read)
CVE-2026-125255 5.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a use after free vulnerability in libavcodec/mjpegdec.c that allows attackers to trigger freed buffer reads by sending a SOF marker without a preceding SOI. Attackers can supply crafted MJPEG streams causing ff_mjpeg_decode_sof() to pass a stale raw_image_buffer pointer to hwaccel decoders like NVDEC, crashing applications or leaking heap contents.

Dangling pointer

FFmpeg 9.0.2 and earlier VVC decoder divbyzero (ff_vvc_slice_rpl)
CVE-2026-125254 6.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a division by zero vulnerability in the VVC decoder because ff_vvc_slice_rpl() fails to validate num_ref_idx_active against built reference list entries. Attackers can supply a crafted VVC bitstream whose excess reference indices yield a zero POC difference in ff_vvc_mv_scale(), crashing the decoding process.

Divide By Zero

FFmpeg 9.0.2 libavcodec VP9 split int overflow OOB read
CVE-2026-125253 5.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains an integer overflow in cbs_vp9_split_fragment() in libavcodec/cbs_vp9.c that wraps the superframe size check on 32-bit builds. Attackers can supply a crafted VP9 packet with a forged superframe index containing near-2^32 frame sizes, causing out-of-bounds reads that crash 32-bit applications.

Integer Overflow or Wraparound

FFmpeg 9.0.2 libavcodec VAAPI decode memory leak (CVE-2026-125252)
CVE-2026-125252 5.7 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a memory leak vulnerability in libavcodec/vaapi_decode.c that allows attackers to exhaust memory by supplying streams with slice parse errors. Attackers can craft H.264 or other VAAPI-decoded video where later slices fail to parse on every frame, continuously leaking VA parameter and slice buffers plus driver and heap memory.

Memory Leak

FFmpeg 9.0.2 libavcodec VVC decoder integer overflow (alloc_frame)
CVE-2026-125251 7.3 - High - November 09, 2026

FFmpeg through 9.0.2 contains an integer overflow vulnerability in the VVC decoder alloc_frame() function in libavcodec/vvc/refs.c that undersizes the reference picture list allocation on 32-bit builds. Attackers can supply a crafted VVC (H.266) file with a very large number of NAL units per access unit to trigger heap out-of-bounds writes and corrupt memory.

Integer Overflow or Wraparound

FFmpeg 9.0.2 heap buffer overflow in GIF encoder (gif_image_write_image)
CVE-2026-125250 8.5 - High - November 09, 2026

FFmpeg through 9.0.2 contains a heap buffer overflow in the GIF encoder's gif_image_write_image() in libavcodec/gif.c because shrunk_buf is sized from the first frame's linesize. Attackers can supply PAL8 video whose frame linesize grows mid-stream, causing remap_frame_to_palette() to write past shrunk_buf and corrupt the heap during GIF transcoding.

Heap-based Buffer Overflow

FFmpeg 7.1-9.0.2 Integer Overflow in Vulkan HW Accel Decode Buffer
CVE-2026-125249 7.3 - High - November 09, 2026

FFmpeg 7.1 through 9.0.2 contains an integer overflow in ff_vk_decode_add_slice() in libavcodec/vulkan_decode.c that miscalculates the Vulkan hwaccel bitstream buffer size. Attackers can supply a crafted stream with over 2 GiB of slice data per frame, causing memcpy() to write past a smaller pooled host-mapped buffer.

Integer Overflow or Wraparound

FFmpeg 9.09.0.2 Integer Overflow in Vulkan FFV1 Encoder GPU Buffer
CVE-2026-125248 7.3 - High - November 09, 2026

FFmpeg 9.0 through 9.0.2 contains an integer overflow vulnerability in libavcodec/ffv1enc_vulkan.c that undersizes the float remap GPU buffer for large frames. Attackers can supply large GBRPF32 or GBRAPF32 images or videos that, when transcoded to FFV1 with the Vulkan encoder, trigger out-of-bounds GPU memory writes causing crashes or memory corruption.

Integer Overflow or Wraparound

FFmpeg 9.0.2 DoS via JPEG Scan Header (cbs_jpeg_assemble_fragment)
CVE-2026-125246 5.7 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a denial of service vulnerability in cbs_jpeg_assemble_fragment() that miscounts 0xff stuffing bytes in JPEG scan headers. Attackers can supply a crafted JPEG/MJPEG stream with 0xff in the scan header, triggering an av_assert0 abort when CBS-based bitstream filters process it.

assertion failure

FFmpeg <=9.0.2 Integer Overflow in dng_decode_tiles() Leads to Memory Leak
CVE-2026-125247 4.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains an integer overflow vulnerability in dng_decode_tiles() that allows attackers to leak uninitialized memory via crafted DNG tile dimensions. Attackers can set TileWidth or TileLength near INT_MAX so the tile loop never runs, outputting a frame exposing uninitialized or stale heap memory.

Integer Overflow or Wraparound

FFmpeg <=9.0.2 Memory Leak in libavcodec mjpegdec
CVE-2026-125245 5.7 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a memory leak vulnerability in ff_mjpeg_decode_sof() in libavcodec/mjpegdec.c, which overwrites the hwaccel_picture_private pointer without freeing it. Attackers can supply crafted MJPEG streams with repeated SOF markers or failing frames to leak hwaccel private data and hardware buffers under VAAPI or NVDEC decoding.

Memory Leak

FFmpeg <8.1.3/9.0.2 OOB Write in VVC Decoder (sh_entry_points)
CVE-2026-125244 8.5 - High - November 09, 2026

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains an out-of-bounds write vulnerability in the VVC decoder's sh_entry_points() function in libavcodec/vvc/ps.c. Attackers can supply a crafted VVC (H.266) bitstream whose SPS/PPS tile and WPP layout produces excess entry points, overflowing entry_point_start_ctu and corrupting decoder memory.

Memory Corruption

FFmpeg <=9.0.2 libavcodec/vdpau.c Memory Leak DoS
CVE-2026-125242 5.7 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a memory leak vulnerability in libavcodec/vdpau.c that allows attackers to exhaust heap memory by aborting pictures before end_frame. Attackers can supply crafted H.264 streams with malformed NAL units that repeatedly abandon pictures, leaking the bitstream_buffers table continuously and causing denial of service.

Memory Leak

FFmpeg 9.0.2 libavcodec jpeglsdec Uninit Heap Memory Disclosure
CVE-2026-125243 4.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains an uninitialized memory disclosure vulnerability in ff_jpegls_decode_picture() in libavcodec/jpeglsdec.c, which decodes 16-bit line-interleaved JPEG-LS scans as 8-bit samples. Attackers can supply a crafted single-component JPEG-LS image with the ILV byte set to 1, causing decoded GRAY16 frames to expose leftover heap memory.

Use of Uninitialized Resource

FFmpeg <=9.0.2 libavcodec flicvideo heap buffer overflow
CVE-2026-125241 7.3 - High - November 09, 2026

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/flicvideo.c that allows attackers to write out of bounds because check_pixel_ptr() checks only one bound with negative-stride frames. Attackers can supply a crafted FLIC file whose RLE and delta chunks write pixel data past frame storage, corrupting heap memory to crash applications or possibly execute code.

Memory Corruption

FFmpeg <=9.0.2 Heap Buffer Overflow in DXVA HEVC Tile Parsing
CVE-2026-125239 7.3 - High - November 09, 2026

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in ff_dxva2_hevc_fill_picture_parameters() that allows attackers to corrupt memory via unbounded non-uniform tile counts. Attackers can supply crafted HEVC bitstreams with many non-uniformly spaced tiles to write controlled 16-bit values past fixed-size DXVA arrays during DXVA2, D3D11VA, or D3D12VA decoding on Windows.

Memory Corruption

FFmpeg <=9.0.2 Resource Leak in libsvtjpegxsdec (svt_jpegxs_dec_decode)
CVE-2026-125240 6.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a resource leak vulnerability in svt_jpegxs_dec_decode() in libsvtjpegxsdec.c that leaks decoder instances when ff_set_dimensions() rejects frame dimensions. Attackers can supply a crafted JPEG XS stream, for example in MPEG-TS, with oversized headers to repeatedly leak decoder threads and buffers, exhausting memory.

Memory Leak

Assertion DoS in FFmpeg libavcodec libxevd_receive_frame (<=9.0.2)
CVE-2026-125238 6.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a reachable assertion vulnerability in libxevd_receive_frame() in libavcodec/libxevd.c that returns success when an access unit produces no frame. Attackers can supply a crafted EVC file with truncated or picture-less access units to trigger the av_assert0() on frame->private_ref, aborting any decoding application.

assertion failure

FFmpeg 8.1-9.0.2 DoS in libavcodec DPX (Vulkan hwaccel)
CVE-2026-125237 5.7 - Medium - November 09, 2026

FFmpeg 8.1 through 9.0.2 contains a denial of service vulnerability in libavcodec/dpx.c that leaves dpx->hwaccel_picture_private allocated when Vulkan hwaccel callbacks fail. Attackers can supply crafted DPX images that make start_frame, decode_slice or end_frame fail, triggering an av_assert0 abort on the next frame and terminating the decoding application.

assertion failure

FFmpeg 9.0.2 libavcodec VVC alloc_frame() memory leak (DoS)
CVE-2026-125236 4.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a memory leak vulnerability in alloc_frame() in libavcodec/vvc/refs.c that leaks SPS and PPS references when frame buffer allocation fails. Attackers can supply a crafted VVC (H.266) stream that repeatedly replaces parameter sets, steadily growing memory use and causing denial of service.

Memory Leak

FFmpeg <=9.0.2 Heap Overflow in libavcodec qsvenc (Intel QSV)
CVE-2026-125235 7.3 - High - November 09, 2026

FFmpeg through 9.0.2 contains a heap overflow vulnerability in libavcodec/qsvenc.c that allows attackers to corrupt memory by reusing an undersized pooled QSVFrame buffer when input dimensions increase. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with Intel Quick Sync encoders without rescaling, to crash the application or corrupt heap memory.

Heap-based Buffer Overflow

FFmpeg <=9.0.2 Integer Overflow in wavpack_encode_init() (WavPack)
CVE-2026-125234 6.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains an integer overflow vulnerability in wavpack_encode_init() in libavcodec/wavpackenc.c that causes an infinite loop when computing block size from sample rate and channel count. Attackers can supply a crafted audio file, such as a WAV header declaring a huge sample rate with many channels, to hang applications transcoding to WavPack.

Integer Overflow or Wraparound

FFmpeg 9.0.2 libavcodec motion_est DIV0 (SIGFPE)
CVE-2026-125232 6.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a division by zero vulnerability in estimate_motion_b() in libavcodec/motion_est.c, caused by frame timestamp distances truncated to 16 bits. Attackers can supply input with timestamp gaps that are multiples of 65536, crashing MPEG-4 Part 2 or MPEG-1/2 B-frame encoding with SIGFPE.

Divide By Zero

FFmpeg <=9.0.2 Heap Buffer Overflow in libavcodec dvbsub_encode
CVE-2026-125233 8.5 - High - November 09, 2026

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in dvbsub_encode() in libavcodec/dvbsubenc.c that undercounts each CLUT segment header by two bytes. Attackers can supply a file with many bitmap subtitle rectangles that, when transcoded to the dvbsub encoder, writes past the output buffer and corrupts heap memory.

Incorrect Calculation of Buffer Size

FFmpeg 4.4-9.0.2 NULL ptr deref in libavcodec/adxdec
CVE-2026-125231 6.8 - Medium - November 09, 2026

FFmpeg 4.4 through 9.0.2 contains a NULL pointer dereference vulnerability in libavcodec/adxdec.c because adx_decode_header() updates the channel layout before validating the sample rate. Attackers can supply a crafted ADX/AAX stream with mid-stream new-extradata side data carrying an invalid sample rate, causing adx_decode() to write through NULL plane pointers and crash the application.

NULL Pointer Dereference

FFmpeg <=9.0.2 OOB in libavcodec huffyuvenc encode_frame
CVE-2026-125229 8.5 - High - November 09, 2026

FFmpeg through 9.0.2 contains an out-of-bounds memory access vulnerability in the encode_frame() function of libavcodec/huffyuvenc.c, because encode_init() never validates minimum frame dimensions for the median predictor. Attackers can supply a tiny video, such as a 2-pixel-wide or 1-2-pixel-tall frame, that causes negative sub_median_pred lengths and out-of-bounds reads and writes when transcoded to huffyuv or ffvhuff, crashing the encoder.

Memory Corruption

FFmpeg <=9.0.2 pcm_rechunk Filter Integer Overflow DivisionbyZero
CVE-2026-125230 6.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains an integer overflow vulnerability in the pcm_rechunk bitstream filter that allows attackers to trigger division by zero via a crafted channel count. Attackers can supply a file declaring a huge channel count that is remuxed into MXF, GXF or DAUD, overflowing sample_size and crashing the application.

Integer Overflow or Wraparound

FFmpeg <8.1.3, 9.x<9.0.2 libavcodec OOB read in Vorbis encoder
CVE-2026-125228 5.8 - Medium - November 09, 2026

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains an out-of-bounds read vulnerability in put_vector() in libavcodec/vorbisenc.c when NaN samples leave the codebook entry at -1. Attackers can supply audio with NaN float samples to the native Vorbis encoder, causing heap reads before arrays that crash the application or leak adjacent heap memory into output.

Out-of-bounds Read

FFmpeg <=9.0.2 heap buffer overflow via cbs_jpeg_write_scan integer overflow
CVE-2026-125227 7.3 - High - November 09, 2026

FFmpeg through 9.0.2 contains an integer overflow in cbs_jpeg_write_scan() in libavcodec/cbs_jpeg.c that causes a heap buffer overflow on 32-bit builds. Attackers can supply a crafted MJPEG/JPEG stream with a scan of 512 MiB or more, processed by CBS bitstream filters like filter_units, to corrupt the heap or crash the application.

Integer Overflow or Wraparound

FFmpeg <9.0.3 NULL ptr deref in aac_adtstoasc_filter (DoS)
CVE-2026-125225 6.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in aac_adtstoasc_filter() that allows attackers to crash applications via oversized ADTS AAC packets. Attackers can supply a crafted file with a packet over 256 MB, overflowing the bit count so init_get_bits() fails unchecked and get_bits() crashes during MP4, Matroska, FLV or LATM remuxing.

Unchecked Return Value

FFmpeg <=9.0.2 libavformat sbgdec Uncontrolled Mem Alloc DoS
CVE-2026-125226 6.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains an uncontrolled memory allocation vulnerability in sbg_read_header() in libavformat/sbgdec.c that derives an unbounded default frame size from the script's sample rate. Attackers can supply a crafted SBaGen script declaring a very high -r sample rate so the wavesynth decoder allocates enormous audio frames, exhausting memory and causing denial of service.

Stack Exhaustion

FFmpeg 8.0-9.0.2 VP9 Decoder Memory Leak (CVE-2026-125223)
CVE-2026-125223 5.7 - Medium - November 09, 2026

FFmpeg 8.0 through 9.0.2 contains a memory leak vulnerability in the VP9 decoder that allows attackers to exhaust memory because vp9_decode_frame() skips resetting the CBS fragment on error paths. Attackers can supply a crafted VP9 stream with invalid tile sizes decoded with slice threading to leak packet buffers and units, exhausting memory in the decoding application.

Memory Leak

FFmpeg <=9.0.2 libavcodec vorbis_parser DoS via malformed extradata
CVE-2026-125224 6.8 - Medium - November 09, 2026

FFmpeg through 9.0.2 contains a denial of service vulnerability in libavcodec/vorbis_parser.c that re-parses invalid extradata for every packet when valid_extradata remains false. Attackers can supply crafted Ogg or Matroska Vorbis streams with large invalid extradata and many packets to exhaust CPU during demuxing or probing.

Resource Exhaustion

FFmpeg 9.0.2 libavcodec hap_parse_frame_header Integer Overflow Heap Overflow
CVE-2026-125222 7.3 - High - November 09, 2026

FFmpeg through 9.0.2 contains an integer overflow vulnerability in hap_parse_frame_header() in libavcodec/hapdec.c that allows attackers to trigger a heap buffer overflow on 32-bit builds. Attackers can craft Hap video frames with Snappy length prefixes that wrap tex_size, causing decompress_chunks_thread() to write outside tex_buf and crash the application or potentially execute code.

Integer Overflow or Wraparound

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for FFmpeg or by FFmpeg? Click the Watch button to subscribe.

FFmpeg
Vendor

FFmpeg
Product

subscribe