• 公告ID (KylinSec-SA-2025-2706)

摘要:

ffmpeg security update

安全等级: High

公告ID: KylinSec-SA-2025-2706

发布日期: 2025年7月17日

关联CVE: CVE-2020-22039   CVE-2020-22038   CVE-2020-21697   CVE-2020-22019   CVE-2020-22021   CVE-2020-22026   CVE-2020-22037   CVE-2021-38090   CVE-2025-22921   CVE-2020-22043   CVE-2020-22044   CVE-2020-22051   CVE-2025-22919   CVE-2020-22020  

  • 详细介绍

1. 漏洞描述

   

FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

Security Fix(es):

A heap-use-after-free in the mpeg_mux_write_packet function in libavformat/mpegenc.c of FFmpeg 4.2 allows to cause a denial of service (DOS) via a crafted avi file.(CVE-2020-21697)

Buffer Overflow vulnerability in FFmpeg 4.2 at convolution_y_10bit in libavfilter/vf_vmafmotion.c, which could let a remote malicious user cause a Denial of Service.(CVE-2020-22019)

Buffer Overflow vulnerability in FFmpeg 4.2 in the build_diff_map function in libavfilter/vf_fieldmatch.c, which could let a remote malicious user cause a Denial of Service.(CVE-2020-22020)

Buffer Overflow vulnerability in FFmpeg 4.2 at filter_edges function in libavfilter/vf_yadif.c, which could let a remote malicious user cause a Denial of Service.(CVE-2020-22021)

Buffer Overflow vulnerability exists in FFmpeg 4.2 in the config_input function at libavfilter/af_tremolo.c, which could let a remote malicious user cause a Denial of Service.(CVE-2020-22026)

A Denial of Service vulnerability exists in FFmpeg 4.2 due to a memory leak in avcodec_alloc_context3 at options.c.(CVE-2020-22037)

A Denial of Service vulnerability exists in FFmpeg 4.2 due to a memory leak in the ff_v4l2_m2m_create_context function in v4l2_m2m.c.(CVE-2020-22038)

A Denial of Service vulnerability exists in FFmpeg 4.2 due to a memory leak in the inavi_add_ientry function.(CVE-2020-22039)

A Denial of Service vulnerability exists in FFmpeg 4.2 due to a memory leak at the fifo_alloc_common function in libavutil/fifo.c.(CVE-2020-22043)

A Denial of Service vulnerability exists in FFmpeg 4.2 due to a memory leak in the url_open_dyn_buf_internal function in libavformat/aviobuf.c.(CVE-2020-22044)

A Denial of Service vulnerability exists in FFmpeg 4.2 due to a memory leak in the filter_frame function in vf_tile.c.(CVE-2020-22051)

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attackers to cause a Denial of Service or other unspecified impacts.(CVE-2021-38090)

A reachable assertion in FFmpeg git-master commit N-113007-g8d24a28d06 allows attackers to cause a Denial of Service (DoS) via opening a crafted AAC file.(CVE-2025-22919)

FFmpeg git-master,N-113007-g8d24a28d06 was discovered to contain a segmentation violation via the component /libavcodec/jpeg2000dec.c.(CVE-2025-22921)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2020-22039 KY3.4-5A ffmpeg Fixed
CVE-2020-22038 KY3.4-5A ffmpeg Fixed
CVE-2020-21697 KY3.4-5A ffmpeg Fixed
CVE-2020-22019 KY3.4-5A ffmpeg Fixed
CVE-2020-22021 KY3.4-5A ffmpeg Fixed
CVE-2020-22026 KY3.4-5A ffmpeg Fixed
CVE-2020-22037 KY3.4-5A ffmpeg Fixed
CVE-2021-38090 KY3.4-5A ffmpeg Fixed
CVE-2025-22921 KY3.4-5A ffmpeg Fixed
CVE-2020-22043 KY3.4-5A ffmpeg Fixed
CVE-2020-22044 KY3.4-5A ffmpeg Fixed
CVE-2020-22051 KY3.4-5A ffmpeg Fixed
CVE-2025-22919 KY3.4-5A ffmpeg Fixed
CVE-2020-22020 KY3.4-5A ffmpeg Fixed

3. 影响组件

    ffmpeg

4. 修复版本

   

KY3.4-5A

软件名称 架构 版本号
ffmpeg x86_64 4.2.4-24.kb1.ky3_4
ffmpeg-devel x86_64 4.2.4-24.kb1.ky3_4
ffmpeg-libs x86_64 4.2.4-24.kb1.ky3_4
libavdevice x86_64 4.2.4-24.kb1.ky3_4
ffmpeg aarch64 4.2.4-24.kb1.ky3_4
ffmpeg-devel aarch64 4.2.4-24.kb1.ky3_4
ffmpeg-libs aarch64 4.2.4-24.kb1.ky3_4
libavdevice aarch64 4.2.4-24.kb1.ky3_4

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

KY3.4-5A:

x86_64:

     ffmpeg   

     ffmpeg-devel   

     ffmpeg-libs   

     libavdevice   

aarch64:

     ffmpeg   

     ffmpeg-devel   

     ffmpeg-libs   

     libavdevice   

上一篇:KylinSec-SA-2025-2705 下一篇:KylinSec-SA-2025-2707