# CVE-2021-38171

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-08-21 · Modified: 2024-08-04
- Aliases: SUSE-SU-2021:3193-1, SUSE-SU-2021:3212-1, UBUNTU-CVE-2021-38171, DEBIAN-CVE-2021-38171, openSUSE-SU-2021:3193-1, ALPINE-CVE-2021-38171
- Record: https://cvemate.com/vulnerability/CVE-2021-38171 · JSON: https://cvemate.com/vulnerability/CVE-2021-38171/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.411%, percentile 84.653%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 23)

- alpine ffmpeg (Alpine Linux): \< 4.3.3-r0 \| \< 4.4.1-r0
- alpine ffmpeg4 (Alpine Linux): \< 4.4.1-r0
- debian ffmpeg (Debian): \< 7:4.4.1-1
- ubuntu ffmpeg (Ubuntu): \< 7:2.8.17-0ubuntu0.1+esm4 \| \< 7:3.4.11-0ubuntu0.1 \| \< 7:4.2.7-0ubuntu0.1
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- ffmpeg ffmpeg: 4.4
- opensuse ffmpeg&distro=openSUSE Leap 15.3 (openSUSE): \< 3.4.2-11.11.1
- suse ffmpeg&distro=SUSE Enterprise Storage 6 (SUSE Linux Enterprise): \< 3.4.2-4.37.1
- suse ffmpeg&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS (SUSE Linux Enterprise): \< 3.4.2-4.37.1
- suse ffmpeg&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 3.4.2-4.37.1
- suse ffmpeg&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS (SUSE Linux Enterprise): \< 3.4.2-4.37.1
- suse ffmpeg&distro=SUSE Linux Enterprise High Performance Computing 15-LTSS (SUSE Linux Enterprise): \< 3.4.2-4.37.1
- suse ffmpeg&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP2 (SUSE Linux Enterprise): \< 3.4.2-11.11.1
- suse ffmpeg&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP3 (SUSE Linux Enterprise): \< 3.4.2-11.11.1
- suse ffmpeg&distro=SUSE Linux Enterprise Module for Package Hub 15 SP2 (SUSE Linux Enterprise): \< 3.4.2-11.11.1
- suse ffmpeg&distro=SUSE Linux Enterprise Module for Package Hub 15 SP3 (SUSE Linux Enterprise): \< 3.4.2-11.11.1
- suse ffmpeg&distro=SUSE Linux Enterprise Server 15 SP1-BCL (SUSE Linux Enterprise): \< 3.4.2-4.37.1
- suse ffmpeg&distro=SUSE Linux Enterprise Server 15 SP1-LTSS (SUSE Linux Enterprise): \< 3.4.2-4.37.1
- suse ffmpeg&distro=SUSE Linux Enterprise Server 15-LTSS (SUSE Linux Enterprise): \< 3.4.2-4.37.1
- suse ffmpeg&distro=SUSE Linux Enterprise Server for SAP Applications 15 (SUSE Linux Enterprise): \< 3.4.2-4.37.1

## References

- <https://patchwork.ffmpeg.org/project/ffmpeg/patch/AS8P193MB12542A86E22F8207EC971930B6F19%40AS8P193MB1254.EURP193.PROD.OUTLOOK.COM/>
- <https://github.com/FFmpeg/FFmpeg/commit/9ffa49496d1aae4cbbb387aac28a9e061a6ab0a6>
- <https://www.debian.org/security/2021/dsa-4990>
- <https://www.debian.org/security/2021/dsa-4998>
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00012.html>
- <https://security.gentoo.org/glsa/202312-14>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20213193-1/>
- <https://bugzilla.suse.com/1189724>
- <https://www.suse.com/security/cve/CVE-2021-38171>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20213212-1/>
- <https://ubuntu.com/security/CVE-2021-38171>
- <https://patchwork.ffmpeg.org/project/ffmpeg/patch/AS8P193MB12542A86E22F8207EC971930B6F19@AS8P193MB1254.EURP193.PROD.OUTLOOK.COM/>
- <https://ubuntu.com/security/notices/USN-5472-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-38171>
- <https://ubuntu.com/security/notices/USN-5167-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-38171>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/UQYGWX5BP3LA5ULPF6C7O7URBPXWRNFJ/>
- <https://security.alpinelinux.org/vuln/CVE-2021-38171>

---

Data as of 2026-12-05T07:24:40.961Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
