CVE-2017-9870

NameCVE-2017-9870
DescriptionThe III_i_stereo function in layer3.c in mpglib, as used in libmpgdecoder.a in LAME 3.99.5 and other products, allows remote attackers to cause a denial of service (buffer over-read and application crash) via a crafted audio file that is mishandled in the code for the "block_type == 2" case, a similar issue to CVE-2017-11126.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs867725

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lame (PTS)buster3.100-2fixed
bullseye3.100-3fixed
sid, trixie, bookworm3.100-6fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lamesourcejessie3.99.5+repack1-7+deb8u2
lamesource(unstable)3.99.5+repack1-8867725

Notes

https://blogs.gentoo.org/ago/2017/06/17/lame-global-buffer-overflow-in-iii_i_stereo-layer3-c/
https://sourceforge.net/p/lame/bugs/481/
Starting with 3.99.5+repack1-8 libsndfile is used to read the input file, marking that as the fixed
version, although the internal lame code was only fixed in 3.100 (strictly speaking that would be
severity:unimportant for stretch onwards, but we don't have suite-specific severity annotations

Search for package or bug name: Reporting problems