SecurityContext

CVE-2021-38171: FFmpeg - Buffer Overflow

  • Cve: CVE-2021-38171
  • Name: FFmpeg - Buffer Overflow
  • Description: adts_decode_extradata in libavformat/adtsenc.c in FFmpeg 4.4 does not check the init_get_bits return value, which is a necessary step because the second argument to init_get_bits can be crafted.
  • Impact: Potential for memory corruption or undefined behavior if crafted input causes init_get_bits to fail silently.
  • Remediation: Update to the latest version of FFmpeg where this issue is fixed, or apply patches that check the return value of init_get_bits.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02411
  • Epss percentile: 0.84419
  • Assignee: [email protected]
  • Published at: 2021-08-21T17:15:07Z
  • Age in days: 1921
  • Modified at: 2026-06-17T04:01:41Z
  • Patch available: yes
  • References total: 6
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-38171
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-252Unchecked Return Value

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/FFmpeg/FFmpeg/commit/9ffa49496d1aae4cbbb387aac28a9e061a6ab0a6Patch, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/11/msg00012.htmlMailing List, Third Party Advisory
https://www.debian.org/security/2021/dsa-4990Third Party Advisory
https://www.debian.org/security/2021/dsa-4998Third Party Advisory
https://patchwork.ffmpeg.org/project/ffmpeg/patch/AS8P193MB12542A86E22F8207EC971930B6F19%40AS8P193MB1254.EURP193.PROD.OUTLOOK.COM/
https://security.gentoo.org/glsa/202312-14

Products

ProductAffectedPlatform boundSourcesUrl
ffmpeg:ffmpeg= 4.4nonvd/v1/products/ffmpeg/ffmpeg
debian:debian_linux= 11.0, = 10.0, = 9.0nonvd/v1/products/debian/debian_linux

Projects

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

Index

  • Repositories: 75
  • Repositories high signal: 29
  • Checked, none or zero: packages

Exploitation

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