| Name | CVE-2017-9871 | 
| Description | The 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 (stack-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted audio file. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 867725 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| lame (PTS) | bullseye | 3.100-3 | fixed | 
|  | forky, sid, bookworm, trixie | 3.100-6 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| lame | source | jessie | 3.99.5+repack1-7+deb8u2 |  |  |  | 
| lame | source | (unstable) | 3.99.5+repack1-8 |  |  | 867725 | 
Notes
https://blogs.gentoo.org/ago/2017/06/17/lame-stack-based-buffer-overflow-in-iii_i_stereo-layer3-c/
https://sourceforge.net/p/lame/bugs/483/
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