SecurityContext

CVE-2020-21697: FFmpeg - Use After Free

  • Cve: CVE-2020-21697
  • Name: FFmpeg - Use After Free
  • Description: A heap-use-after-free in the mpeg_mux_write_packet function in libavformat/mpegenc.c of FFmpeg 4.2 allows to cause a denial of service (DOS) via a crafted avi file.
  • Impact: Attackers can cause application crash or hang, leading to denial of service.
  • Remediation: Update to the latest version of FFmpeg where the issue is fixed.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00917
  • Epss percentile: 0.61104
  • Assignee: [email protected]
  • Published at: 2021-08-10T21:15:07Z
  • Age in days: 1932
  • Modified at: 2026-06-17T03:03:52Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-21697
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

Public exploits

UrlSourceAdded date
https://trac.ffmpeg.org/ticket/8188nvd2021-08-10

References

UrlSourceTags
https://trac.ffmpeg.org/ticket/8188nvdExploit, Issue Tracking, Patch, Vendor Advisory
https://www.debian.org/security/2021/dsa-4998nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
ffmpeg:ffmpeg= 4.2nonvd/v1/products/ffmpeg/ffmpeg
debian:debian_linux= 11.0nonvd/v1/products/debian/debian_linux

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-08-10
  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports