{"id":"UBUNTU-CVE-2020-22020","details":"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.","modified":"2026-04-22T14:11:57.884576Z","published":"2021-05-26T20:15:00Z","related":["USN-5167-1","USN-5472-1"],"upstream":["CVE-2020-22020"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-22020"},{"type":"REPORT","url":"https://trac.ffmpeg.org/ticket/8239"},{"type":"REPORT","url":"http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=ce5274c1385d55892a692998923802023526b765"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5472-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-22020"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5167-1"}],"affected":[{"package":{"name":"ffmpeg","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ffmpeg@7:2.8.17-0ubuntu0.1+esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:2.8.17-0ubuntu0.1+esm2"}]}],"versions":["7:2.7.2-1build1","7:2.8.1-1ubuntu1","7:2.8.2-1ubuntu1","7:2.8.3-1","7:2.8.4-1","7:2.8.4-1ubuntu1","7:2.8.4-1ubuntu2","7:2.8.4-1ubuntu3","7:2.8.4-1ubuntu4","7:2.8.6-1ubuntu1","7:2.8.6-1ubuntu2","7:2.8.8-0ubuntu0.16.04.1","7:2.8.10-0ubuntu0.16.04.1","7:2.8.11-0ubuntu0.16.04.1","7:2.8.14-0ubuntu0.16.04.1","7:2.8.15-0ubuntu0.16.04.1","7:2.8.15-0ubuntu0.16.04.1+esm1","7:2.8.17-0ubuntu0.1","7:2.8.17-0ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"ffmpeg","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libav-tools","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libavcodec-extra","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libavcodec-ffmpeg-extra56","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libavcodec-ffmpeg56","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libavdevice-ffmpeg56","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libavfilter-ffmpeg5","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libavformat-ffmpeg56","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libavresample-ffmpeg2","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libavutil-ffmpeg54","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libpostproc-ffmpeg53","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libswresample-ffmpeg1","binary_version":"7:2.8.17-0ubuntu0.1+esm2"},{"binary_name":"libswscale-ffmpeg3","binary_version":"7:2.8.17-0ubuntu0.1+esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-22020.json"}},{"package":{"name":"ffmpeg","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ffmpeg@7:3.4.11-0ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.4.11-0ubuntu0.1"}]}],"versions":["7:3.3.4-2","7:3.3.4-2build3","7:3.4-2ubuntu2","7:3.4-4","7:3.4-4build1","7:3.4.1-1","7:3.4.1-1build1","7:3.4.2-1","7:3.4.2-1build1","7:3.4.2-2","7:3.4.4-0ubuntu0.18.04.1","7:3.4.6-0ubuntu0.18.04.1","7:3.4.8-0ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"ffmpeg","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libavcodec-extra","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libavcodec-extra57","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libavcodec57","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libavdevice57","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libavfilter-extra","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libavfilter-extra6","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libavfilter6","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libavformat57","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libavresample3","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libavutil55","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libpostproc54","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libswresample2","binary_version":"7:3.4.11-0ubuntu0.1"},{"binary_name":"libswscale4","binary_version":"7:3.4.11-0ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-22020.json"}},{"package":{"name":"ffmpeg","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ffmpeg@7:4.2.7-0ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:4.2.7-0ubuntu0.1"}]}],"versions":["7:4.1.4-1build2","7:4.2.1-2","7:4.2.1-2ubuntu1","7:4.2.2-1build1","7:4.2.2-1ubuntu1","7:4.2.4-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"ffmpeg","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libavcodec-extra","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libavcodec-extra58","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libavcodec58","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libavdevice58","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libavfilter-extra","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libavfilter-extra7","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libavfilter7","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libavformat58","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libavresample4","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libavutil56","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libpostproc55","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libswresample3","binary_version":"7:4.2.7-0ubuntu0.1"},{"binary_name":"libswscale5","binary_version":"7:4.2.7-0ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-22020.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}