CVE-2021-38171Ffmpeg
Critical 9.8 No auth needed
Follow: this CVE · Ffmpeg · Ffmpeg We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.4% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Aug 21, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-252
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ffmpeg.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ffmpeg | ffmpeg | 4.4 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- patchwork.ffmpeg.org
- security.gentoo.org
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory