CVE-2021-38171
highpriority · track · 40EPSS 0.024 · 84 %ileDEEURUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (26)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-0218ffmpeg: Schwachstelle ermöglicht PrivilegieneskalationDeutsch2021-08-30csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in ffmpeg ausnutzen, um seine Privilegien zu erhöhen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- https://github.com/FFmpeg/FFmpeg/commit/9ffa49496d1aae4cbbb387aac28a9e061a6ab0a6cnnvd
- https://lists.debian.org/debian-lts-announce/2021/11/msg00012.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-38171cnnvd
- https://packetstormsecurity.com/files/167458/Ubuntu-Security-Notice-USN-5472-1.htmlcnnvd
- https://patchwork.ffmpeg.org/project/ffmpeg/patch/AS8P193MB12542A86E22F8207EC971930B6F19@AS8P193MB1254.EURP193.PROD.OUTLOOK.COM/cnnvd
- https://vigilance.fr/vulnerability/FFmpeg-memory-corruption-via-adts-decode-extradata-36519cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3210cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3216cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan