# 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 parseplaylist in libavformat/hls.c frees a…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-06-07T18:07:08.000Z
- Modified: 2026-06-17T02:53:52.290Z
- Weaknesses: CWE-416
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ffmpeg ffmpeg: 2.8; 4.2.3
- canonical ubuntu_linux: 16.04; 18.04; 20.04
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://trac.ffmpeg.org/ticket/8673> (exploit, issue-tracking, vendor-advisory)
- <https://patchwork.ffmpeg.org/project/ffmpeg/patch/20200529033905.41926-1-lq%40chinaffmpeg.org/>
- <https://www.debian.org/security/2020/dsa-4722> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00022.html> (mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/4431-1/> (third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202007-58> (third-party-advisory, vendor-advisory)
- <https://github.com/FFmpeg/FFmpeg/commit/6959358683c7533f586c07a766acc5fe9544d8b2> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2020-13904](https://www.cve.org/CVERecord?id=CVE-2020-13904), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-13904](https://nvd.nist.gov/vuln/detail/CVE-2020-13904), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-13904 · Whole record: https://cve.day/CVE-2020-13904.json · Rebuilt by cve.day 2026-11-25T22:57:52.751Z
