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)
ReferencesDLA-2818-1, DSA-4990-1, DSA-4998-1
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.16-1+deb9u1fixed
buster7:4.1.6-1~deb10u1vulnerable
buster (security)7:4.1.8-0+deb10u1fixed
bullseye7:4.3.2-0+deb11u2vulnerable
bullseye (security)7:4.3.3-0+deb11u1fixed
bookworm, sid7:4.4.1-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsourcestretch7:3.2.16-1+deb9u1DLA-2818-1
ffmpegsourcebuster7:4.1.8-0+deb10u1DSA-4990-1
ffmpegsourcebullseye7:4.3.3-0+deb11u1DSA-4998-1
ffmpegsource(unstable)7:4.4.1-1

Notes

https://github.com/FFmpeg/FFmpeg/commit/9ffa49496d1aae4cbbb387aac28a9e061a6ab0a6

Search for package or bug name: Reporting problems