CVE-2020-21688: Use After Free
A heap-use-after-free in the avfreep function in libavutil/mem.c of FFmpeg 4.2 allows attackers to execute arbitrary code.
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-21688?
CVE-2020-21688 is a heap-use-after-free vulnerability in the av_freep function of FFmpeg 4.2.
How does CVE-2020-21688 work?
CVE-2020-21688 works by allowing attackers to execute arbitrary code through a heap-use-after-free vulnerability in FFmpeg.
What software is affected by CVE-2020-21688?
FFmpeg versions 4.2.7-0ubuntu0.1, 2.8.17-0ubuntu0.1+, 3.4.11-0ubuntu0.1, 4.4, and various Debian versions are affected by CVE-2020-21688.
How can I fix CVE-2020-21688?
To fix CVE-2020-21688, update FFmpeg to version 4.2.7-0ubuntu0.1 or apply the appropriate patches from the vendor.
Where can I find more information about CVE-2020-21688?
You can find more information about CVE-2020-21688 on the CVE Mitre website, the FFmpeg ticket #8186, and the Ubuntu Security Notices page USN-5472-1.