SecurityContext

CVE-2020-13904: FFmpeg - Use After Free

  • Cve: CVE-2020-13904
  • Name: FFmpeg - Use After Free
  • 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.
  • Impact: Attackers can potentially execute arbitrary code or cause application crashes through use-after-free vulnerabilities.
  • Remediation: Update to the latest version of FFmpeg where this issue is fixed.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.01317
  • Epss percentile: 0.71545
  • Assignee: [email protected]
  • Published at: 2020-06-07T19:15:09Z
  • Age in days: 2361
  • Modified at: 2026-06-17T02:53:52Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 7
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-13904
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

Public exploits

UrlSourceAdded date
https://trac.ffmpeg.org/ticket/8673nvd2020-06-07

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/FFmpeg/FFmpeg/commit/6959358683c7533f586c07a766acc5fe9544d8b2Patch, Third Party Advisory
https://trac.ffmpeg.org/ticket/8673Exploit, Issue Tracking, Vendor Advisory
https://lists.debian.org/debian-lts-announce/2020/07/msg00022.htmlMailing List, Third Party Advisory
https://security.gentoo.org/glsa/202007-58Third Party Advisory
https://usn.ubuntu.com/4431-1/Third Party Advisory
https://www.debian.org/security/2020/dsa-4722Third Party Advisory
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20200529033905.41926-1-lq%40chinaffmpeg.org/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
ffmpeg:ffmpeg= 4.2.3, = 2.8/v1/products/ffmpeg/ffmpeg
debian:debian_linux= 10.0, = 9.0/v1/products/debian/debian_linux
canonical:ubuntu_linux= 20.04, = 18.04, = 16.04/v1/products/canonical/ubuntu_linux

Projects

RepositoryLink kindsIndexedUrl
FFmpeg/FFmpegcommit, fixyes/v1/repositories/FFmpeg/FFmpeg

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-06-07
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports