p PatchFirst

PatchFirst · Latest vulnerabilities

ffmpeg vulnerabilities

Vulnerabilities published for ffmpeg in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 99

  1. CVE-2026-8461

    High · CVSS 8.8EPSS 1.03%Public exploitFix available

    Heap out-of-bounds write via odd slice_height in FFmpeg MagicYUV decoder

    An out-of-bounds write vulnerability in FFmpeg's libavcodec library, specifically in the MagicYUV decoder, allows denial-of-service and, in some cases, can be exploited for remote code execution. This vulnerability is associated with the file libavcodec/magicyuv.C. This issue affects FFmpeg before version 8.1.2.

    • Update to 8.1.2-r0
    Published Updated
  2. CVE-2025-59734

    High · CVSS 8.7EPSS 0.22%Fix available

    Heap-buffer-overflow write in FFmpeg SANM process_ftch

    It is possible to cause an use-after-free write in SANM decoding with a carefully crafted animation using subversion <2. When a STOR chunk is present, a subsequent FOBJ chunk will be saved in ctx->stored_frame. Stored frames can later be referenced by FTCH chunks. For files using subversion < 2, the undecoded frame is stored, and decoded again when the FTCH chunks are parsed. However, in process_frame_obj if the frame has an invalid size, there’s an early return, with a value of 0.  This causes the code in decode_frame to still store the raw frame buffer into ctx->stored_frame. Leaving ctx->has_dimensions set to false. A subsequent chunk w

    • Update to 8.0-r0
    Published Updated
  3. CVE-2025-59733

    High · CVSS 8.7EPSS 0.22%Fix available

    Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

    When decoding an OpenEXR file that uses DWAA or DWAB compression, there's an implicit assumption that all image channels have the same pixel type (and size), and that if there are four channels, the first four are "B", "G", "R" and "A". The channel parsing code can be found in decode_header. The buffer td->uncompressed_data is allocated in decode_block based on the xsize, ysize and computed current_channel_offset. The function dwa_uncompress then assumes at [5] that if there are 4 channels, these are "B", "G", "R" and "A", and in the calculations at [6] and [7] that all channels are of the same type, which matches the type of the main color

    • Update to 8.0-r0
    Published Updated
  4. CVE-2025-59732

    High · CVSS 8.7EPSS 0.23%Fix available

    Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

    When decoding an OpenEXR file that uses DWAA or DWAB compression, there's an implicit assumption that the height and width are divisible by 8. If the height or width of the image is not divisible by 8, the copy loops at [0] and [1] will continue to write until the next multiple of 8. The buffer td->uncompressed_data is allocated in decode_block based on the precise height and width of the image, so the "rounded-up" multiple of 8 in the copy loop can exceed the buffer bounds, and the write block starting at [2] can corrupt following heap memory. We recommend upgrading to version 8.0 or beyond.

    • Update to 8.0-r0
    Published Updated
  5. CVE-2025-59731

    Medium · CVSS 6.9EPSS 0.23%Fix available

    Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

    When decoding an OpenEXR file that uses DWAA or DWAB compression, the specified raw length of run-length-encoded data is not checked when using it to calculate the output data. We read rle_raw_size from the input file at [0], we decompress and decode into the buffer td->rle_raw_data of size rle_raw_size at [1], and then at [2] we will access entries in this buffer up to (td->xsize - 1) * (td->ysize - 1) + rle_raw_size / 2, which may exceed rle_raw_size. We recommend upgrading to version 8.0 or beyond.

    • Update to 8.0-r0
    Published Updated
  6. CVE-2025-59730

    Medium · CVSS 5.7EPSS 0.23%Fix available

    Heap-buffer-overflow write in FFmpeg SANM decoding due to lack of bounds-checking in old_codec48

    When decoding a frame for a SANM file (ANIM v0 variant), the decoded data can be larger than the buffer allocated for it. Frames encoded with codec 48 can specify their resolution (width x height). A buffer of appropriate size is allocated depending on the resolution. This codec can encode the frame contents using a run-length encoding algorithm. There are no checks that the decoded frame fits in the allocated buffer, leading to a heap-buffer-overflow. process_frame_obj initializes the buffers based on the frame resolution: We recommend upgrading to version 8.0 or beyond.

    • Update to 8.0-r0
    Published Updated
  7. CVE-2025-59729

    Medium · CVSS 5.7EPSS 0.23%Fix available

    Heap-buffer-overflow read in FFmpeg DHAV get_duration

    When parsing the header for a DHAV file, there's an integer underflow in offset calculation that leads to reading the duration from before the start of the allocated buffer. If we load a DHAV file that is larger than MAX_DURATION_BUFFER_SIZE bytes (0x100000) for example 0x101000 bytes, then at [0] we have size = 0x101000. At [1] we have end_buffer_size = 0x100000, and at [2] we have end_buffer_pos = 0x1000. The loop then scans backwards through the buffer looking for the dhav tag; when it is found, we'll calculate end_pos based on a 32-bit offset read from the buffer. There is subsequently a check [3] that end_pos is within the section of

    • Update to 8.0-r0
    Published Updated
  8. CVE-2025-59728

    High · CVSS 8.7EPSS 0.23%Fix available

    Heap-buffer-overflow write in FFmpeg MDASH resolve_content_path

    When calculating the content path in handling of MPEG-DASH manifests, there's an out-of-bounds NUL-byte write one byte past the end of the buffer.When we call xmlNodeGetContent below [0], it returns a buffer precisely allocated to match the string length, using strdup internally. If this buffer is not an empty string, it is assigned to root_url at [1].If the last (non-NUL) byte in this buffer is not '/' then we append '/' in-place at [2]. This will write two bytes into the buffer, starting at the last valid byte in the buffer, writing the NUL byte beyond the end of the allocated buffer. We recommend upgrading to version 8.0 or beyond.

    • Update to 8.0-r0
    Published Updated
  9. CVE-2025-1816

    Medium · CVSS 5.3EPSS 1%Fix available

    FFmpeg IAMF File iamf_parse.c audio_element_obu memory leak

    A vulnerability classified as problematic has been found in FFmpeg up to 6e26f57f672b05e7b8b052007a83aef99dc81ccb. This affects the function audio_element_obu of the file libavformat/iamf_parse.c of the component IAMF File Handler. The manipulation of the argument num_parameters leads to memory leak. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of the patch is 0526535cd58444dd264e810b2f3348b4d96cff3b. It is recommended to apply a patch to fix this issue.

    • Update to 7.1.1-r0
    • Update to 8.0-r0
    Published Updated
  10. CVE-2025-1594

    Medium · CVSS 5.3EPSS 1.11%Fix available

    FFmpeg AAC Encoder aacenc_tns.c ff_aac_search_for_tns stack-based overflow

    A vulnerability, which was classified as critical, was found in FFmpeg up to 7.1. This affects the function ff_aac_search_for_tns of the file libavcodec/aacenc_tns.c of the component AAC Encoder. The manipulation leads to stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

    • Update to 7.1.1-r0
    • Update to 8.0-r0
    Published Updated
  11. CVE-2025-1373

    Medium · CVSS 4.8EPSS 0.38%Fix available

    FFmpeg MOV Parser mov.c mov_read_trak null pointer dereference

    A vulnerability was found in FFmpeg up to 7.1. It has been rated as problematic. Affected by this issue is the function mov_read_trak of the file libavformat/mov.c of the component MOV Parser. The manipulation leads to null pointer dereference. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used. The patch is identified as 43be8d07281caca2e88bfd8ee2333633e1fb1a13. It is recommended to apply a patch to fix this issue.

    • Update to 8.0-r0
    Published Updated
  12. CVE-2025-0518

    Medium · CVSS 4.8EPSS 0.63%Fix available

    Unchecked sscanf return value which leads to memory data leak

    Unchecked Return Value, Out-of-bounds Read vulnerability in FFmpeg allows Read Sensitive Constants Within an Executable. This vulnerability is associated with program files https://github.Com/FFmpeg/FFmpeg/blob/master/libavfilter/af_pan.C . This issue affects FFmpeg: 7.1. Issue was fixed:  https://github.com/FFmpeg/FFmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a https://github.com/FFmpeg/FFmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a This issue was discovered by: Simcha Kosman

    • Update to 7.1.1-r0
    • Update to 8.0-r0
    Published Updated
  13. CVE-2023-6604

    Medium · CVSS 5.3EPSS 0.78%Fix available

    Ffmpeg: hls xbin demuxer dos amplification in ffmpeg

    A flaw was found in FFmpeg. This vulnerability allows unexpected additional CPU load and storage consumption, potentially leading to degraded performance or denial of service via the demuxing of arbitrary data as XBIN-formatted data without proper format validation.

    • Update to 7.1.1-r0
    • Update to 8.0-r0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →