CVE-2021-38171

NameCVE-2021-38171
Descriptionadts_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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)stretch7:3.2.14-1~deb9u1vulnerable
stretch (security)7:3.2.15-0+deb9u4vulnerable
buster, buster (security)7:4.1.6-1~deb10u1vulnerable
bullseye7:4.3.2-0+deb11u2vulnerable
bookworm7:4.4-5vulnerable
sid7:4.4-6vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsource(unstable)(unfixed)

Notes

[bullseye] - ffmpeg <postponed> (Wait for 4.3.3)
[buster] - ffmpeg <postponed> (Wait for 4.1.7)
[stretch] - ffmpeg <postponed> (Wait to be fixed in buster first)
https://github.com/FFmpeg/FFmpeg/commit/9ffa49496d1aae4cbbb387aac28a9e061a6ab0a6

Search for package or bug name: Reporting problems