CVE-2020-21697: Use After Free
A heap-use-after-free in the mpegmuxwritepacket function in libavformat/mpegenc.c of FFmpeg 4.2 allows to cause a denial of service (DOS) via a crafted avi file.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/ffmpegto a version that resolves this vulnerability.Fixed in 7:4.3.7-0+deb11u1Fixed in 7:4.3.8-0+deb11u1Fixed in 7:5.1.6-0+deb12u1Fixed in 7:7.0.2-3Fixed in 7:7.1-3
Event History
Frequently Asked Questions
What is CVE-2020-21697?
CVE-2020-21697 is a vulnerability in FFmpeg 4.2 that allows a denial of service (DOS) through a crafted avi file.
How does CVE-2020-21697 affect the affected software?
CVE-2020-21697 affects the FFmpeg packages in various versions of Ubuntu and Debian.
How can I fix CVE-2020-21697?
To fix CVE-2020-21697, update the FFmpeg packages to the recommended versions provided by Ubuntu or Debian.
Where can I find more information about CVE-2020-21697?
You can find more information about CVE-2020-21697 on the MITRE CVE website, FFmpeg trac ticket, and Ubuntu security notices.
What CWE category does CVE-2020-21697 belong to?
CVE-2020-21697 belongs to CWE category 416 - Use After Free.