CVE-2020-13904 Use after free in n/a
A use-after-free vulnerability in FFmpeg allows attackers to execute arbitrary code or cause denial of service via a crafted m3u8 file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-13904?
CVE-2020-13904 is a medium-severity use after free vulnerability in Canonical Ubuntu Linux, published on 7 Jun 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
FFmpeg 2.8 and 4.2.3 has a use-after-free via a crafted EXTINF duration in an m3u8 file because parse_playlist in libavformat/hls.c frees a pointer, and later that pointer is accessed in av_probe_input_format3 in libavformat/format.c.
Weakness: CWE-416
Which versions are affected by CVE-2020-13904?
It affects 3 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Ffmpeg Ffmpeg.
How do I fix CVE-2020-13904?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2020-13904 being exploited?
There is no known exploitation of CVE-2020-13904 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as CLEANSTART-2024-AE31079, DEBIAN-CVE-2020-13904, GHSA-8gvr-7h6w-q2cv, UBUNTU-CVE-2020-13904.