Use After Free in Ffmpeg
CVE-2020-13904
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.013, 71.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ffmpeg — versions 2.8, 4.2.3
- Canonical Ubuntu Linux — versions 16.04, 18.04, 20.04
- Debian Linux — versions 9.0, 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-13904). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- trac.ffmpeg.org/ticket/8673 (Exploit, Issue Tracking, Vendor Advisory)
- patchwork.ffmpeg.org/project/ffmpeg/patch/20200529033905.41926-1-lq@chinaffmpeg…
- DSA-4722 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20200727 [SECURITY] [DLA 2291-1] ffmpeg security update (mailing-list, Mailing List, Third Party Advisory)
- USN-4431-1 (vendor-advisory, Third Party Advisory)
- GLSA-202007-58 (vendor-advisory, Third Party Advisory)
- github.com/FFmpeg/FFmpeg/commit/6959358683c7533f586c07a766acc5fe9544d8b2 (Patch, Third Party Advisory)