← Vulnerability feed

Vulnerability record · CVE-2021-38171 · published 21 August 2021

CVE-2021-38171: Ffmpeg unchecked return value vulnerability

Ffmpeg · Ffmpeg

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.

9.8 CVSS 3.1 Critical EPSS 2.4% · top 15.2% CWE-252 · Unchecked return value
9.8CVSS 3.1 base score, v2 7.5
2.4%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
12References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-38171 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2011-3937Ffmpeg vulnerabilityThe H.263 codec (libavcodec/h263dec.c) in FFmpeg 0.7.x before 0.7.12, 0.8.x before 0.8.11, and unspecified versions before 0.10, and in Libav 0.5.x b…EPSS 2.3%10.0CVE-2011-2162Ffmpeg vulnerabilityMultiple unspecified vulnerabilities in FFmpeg 0.4.x through 0.6.x, as used in MPlayer 1.0 and other products, in Mandriva Linux 2009.0, 2010.0, and …EPSS 2.3%10.0CVE-2009-4633Ffmpeg vulnerabilityvorbis_dec.c in FFmpeg 0.5 uses an assignment operator when a comparison operator was intended, which might allow remote attackers to cause a denial …EPSS 7.9%10.0CVE-2009-4634Ffmpeg vulnerabilityMultiple integer underflows in FFmpeg 0.5 allow remote attackers to cause a denial of service and possibly execute arbitrary code via a crafted file …EPSS 7.2%10.0CVE-2009-4637Ffmpeg memory buffer overflow vulnerabilityFFmpeg 0.5 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via unknown vectors that trigger a stack-…EPSS 17%10.0CVE-2008-4866Ffmpeg memory buffer overflow vulnerabilityMultiple buffer overflows in libavformat/utils.c in FFmpeg 0.4.9 before r14715, as used by MPlayer, allow context-dependent attackers to have an unkn…EPSS 4.7%10.0CVE-2008-4867Ffmpeg memory buffer overflow vulnerabilityBuffer overflow in libavcodec/dca.c in FFmpeg 0.4.9 before r14917, as used by MPlayer, allows context-dependent attackers to have an unknown impact v…EPSS 2.4%10.0CVE-2008-4868Ffmpeg vulnerabilityUnspecified vulnerability in the avcodec_close function in libavcodec/utils.c in FFmpeg 0.4.9 before r14787, as used by MPlayer, has unknown impact a…EPSS 2.3%

Source: NIST National Vulnerability Database (record CVE-2021-38171), CISA KEV, FIRST EPSS (scores of 2026-11-26). This page is refreshed as NVD updates the record.