Vulnerabilities · 2021 · Ffmpeg
CVE-2021-38171
Ffmpeg vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ffmpeg, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ffmpeg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/FFmpeg/FFmpeg/commit/9ffa49496d1aae4cbbb387aac28a9e061a6ab0a6 · Patch
- lists.debian.org/debian-lts-announce/2021/11/msg00012.html · Third Party Advisory
- www.debian.org/security/2021/dsa-4990 · Third Party Advisory
- www.debian.org/security/2021/dsa-4998 · Third Party Advisory
- patchwork.ffmpeg.org/project/ffmpeg/patch/AS8P193MB12542A86E22F8207EC971930B6F19%40AS8P193
- security.gentoo.org/glsa/202312-14
- nvd.nist.gov/vuln/detail/CVE-2021-38171
- cve.org/CVERecord?id=CVE-2021-38171
More vulnerabilities in Ffmpeg products
CVE-2025-63757CVE-2025-25469CVE-2025-25468CVE-2025-22921CVE-2025-1594CVE-2025-1373CVE-2025-0518CVE-2024-55069All 474
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.