CVE-2020-13904 json
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…
published 2020-06-07 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-6112
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- ffmpeg Debian 14, Debian 13, Debian 12 7:4.3.1-1
debian advisories DEBIAN-CVE-2020-13904
- ffmpeg Ubuntu 16.04 LTS 7:2.8.17-0ubuntu0.1
- ffmpeg Ubuntu 18.04 LTS 7:3.4.8-0ubuntu0.2
- ffmpeg Ubuntu 20.04 LTS 7:4.2.4-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2020-13904
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +10 more 3.4.2-4.34.2
- ffmpeg SLE Workstation Extension 15 SP3, SLE Workstation Extension 15 SP2, SLE Module for Package Hub 15 SP3 +3 more 3.4.2-11.3.1
suse advisories SUSE-SU-2021:2929-1SUSE-SU-2021:2322-1
- ffmpeg openSUSE Leap 15.3 3.4.2-11.3.1
opensuse advisories openSUSE-SU-2021:2322-1
- ffmpeg Alpine 3.10 4.1.6-r0
- ffmpeg Alpine 3.11 4.2.4-r0
- ffmpeg Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 4.3-r0
- ffmpeg Alpine 3.9 4.0.6-r0
- ffmpeg4 Alpine 3.22, Alpine 3.21, Alpine 3.20 +4 more 4.3-r0
alpine advisories ALPINE-CVE-2020-13904
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg Arch Linux 2:4.3.1-1
arch linux advisories AVG-1180
Exploit prediction
1.32% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- trac.ffmpeg.org https://trac.ffmpeg.org/ticket/8673 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/FFmpeg/FFmpeg/commit/6959358683c7533f586c07a766acc5fe9544d8b2
patch, third-party-advisory
-
trac.ffmpeg.org
/ticket/8673
exploit, issue-tracking, vendor-advisory
-
debian.org
/security/2020/dsa-4722
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4431-1/
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202007-58
vendor-advisory, third-party-advisory
- patchwork.ffmpeg.org /project/ffmpeg/patch/20200529033905.41926-1-lq%40chinaffmpeg.org/
-
lists.debian.org
/debian-lts-announce/2020/07/msg00022.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-13904
- NVD CVE-2020-13904
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.