Use After Free Affecting ffmpeg package, versions <7:4.2.4-1ubuntu0.1
Threat Intelligence
EPSS
0.16% (54th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UBUNTU2004-FFMPEG-584310
- published 8 Jun 2020
- disclosed 7 Jun 2020
Introduced: 7 Jun 2020
CVE-2020-13904 Open this link in a new tabHow to fix?
Upgrade Ubuntu:20.04 ffmpeg to version 7:4.2.4-1ubuntu0.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ffmpeg package and not the ffmpeg package as distributed by Ubuntu.
See How to fix? for Ubuntu:20.04 relevant fixed versions and status.
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.
References
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2020-13904
- https://security-tracker.debian.org/tracker/CVE-2020-13904
- https://www.debian.org/security/2020/dsa-4722
- https://security.gentoo.org/glsa/202007-58
- https://github.com/FFmpeg/FFmpeg/commit/6959358683c7533f586c07a766acc5fe9544d8b2
- https://patchwork.ffmpeg.org/project/ffmpeg/patch/20200529033905.41926-1-lq@chinaffmpeg.org/
- https://trac.ffmpeg.org/ticket/8673
- https://lists.debian.org/debian-lts-announce/2020/07/msg00022.html
- https://usn.ubuntu.com/4431-1/
- https://patchwork.ffmpeg.org/project/ffmpeg/patch/20200529033905.41926-1-lq%40chinaffmpeg.org/
CVSS Scores
version 3.1