CVE-2017-9871
The III_i_stereo function in layer3.c in mpglib, as used in libmpgdecoder.a in LAME 3.99.5 and...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2017-9871- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-9871- Updated
- 2026-11-02
EUVDEUVD-2017-18781 No score
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.
- Record
EUVD-2017-18781- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fvg4-h7q3-6jvm
7.8
The III_i_stereo function in layer3.c in mpglib, as used in libmpgdecoder.a in LAME 3.99.5 and...
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.
- Record
GHSA-fvg4-h7q3-6jvm- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2017-9871- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-9871
7.8
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.
- Record
DEBIAN-CVE-2017-9871- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-9871
7.8
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.
- Record
UBUNTU-CVE-2017-9871- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2018:0543-1 No score
Security update for lame
This update for lame fixes the following issues:
Lame was updated to version 3.100:
- Improved detection of MPEG audio data in RIFF WAVE files. sf#3545112 Invalid sampling detection
- New switch --gain <decibel>, range -20.0 to +12.0, a more convenient way to apply Gain adjustment in decibels, than the use of --scale <factor>.
- Fix for sf#3558466 Bug in path handling
- Fix for sf#3567844 problem with Tag genre
- Fix for sf#3565659 no progress indication with pipe input
- Fix for sf#3544957 scale (empty) silent encode without warning
- Fix for sf#3580176 environment variable LAMEOPT doesn't work anymore
- Fix for sf#3608583 input file name displayed with wrong character encoding (on windows console with CP_UTF8)
- Fix dereference NULL and Buffer not NULL terminated issues. (CVE-2017-15019 bsc#1082317 CVE-2017-13712 bsc#1082399 CVE-2015-9100 bsc#1082401)
- Fix dereference of a null pointer possible in loop.
- Make sure functions with SSE instructions maintain their own properly aligned stack. Thanks to Fabian Greffrath
- Multiple Stack and Heap Corruptions from Malicious File. (CVE-2017-9872 bsc#1082391 CVE-2017-9871 bsc#1082392 CVE-2017-9870 bsc#1082393 CVE-2017-9869 bsc#1082395 CVE-2017-9411 bsc#1082397 CVE-2015-9101 bsc#1082400)
- CVE-2017-11720: Fix a division by zero vulnerability. (bsc#1082311)
- CVE-2017-9410: Fix fill_buffer_resample function in libmp3lame/util.c heap-based buffer over-read and ap (bsc#1082333)
- CVE-2017-9411: Fix fill_buffer_resample function in libmp3lame/util.c invalid memory read and application crash (bsc#1082397)
- CVE-2017-9412: FIx unpack_read_samples function in frontend/get_audio.c invalid memory read and application crash (bsc#1082340)
- Fix clip detect scale suggestion unaware of scale input value
- HIP decoder bug fixed: decoding mixed blocks of lower sample frequency Layer3 data resulted in internal buffer overflow.
- Add lame_encode_buffer_interleaved_int()
- Record
openSUSE-SU-2018:0543-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2018:0544-1 No score
Security update for lame
This update for lame fixes the following issues:
Lame was updated to version 3.100:
- Improved detection of MPEG audio data in RIFF WAVE files. sf#3545112 Invalid sampling detection
- New switch --gain <decibel>, range -20.0 to +12.0, a more convenient way to apply Gain adjustment in decibels, than the use of --scale <factor>.
- Fix for sf#3558466 Bug in path handling
- Fix for sf#3567844 problem with Tag genre
- Fix for sf#3565659 no progress indication with pipe input
- Fix for sf#3544957 scale (empty) silent encode without warning
- Fix for sf#3580176 environment variable LAMEOPT doesn't work anymore
- Fix for sf#3608583 input file name displayed with wrong character encoding (on windows console with CP_UTF8)
- Fix dereference NULL and Buffer not NULL terminated issues. (CVE-2017-15019 bsc#1082317 CVE-2017-13712 bsc#1082399 CVE-2015-9100 bsc#1082401)
- Fix dereference of a null pointer possible in loop.
- Make sure functions with SSE instructions maintain their own properly aligned stack. Thanks to Fabian Greffrath
- Multiple Stack and Heap Corruptions from Malicious File. (CVE-2017-9872 bsc#1082391 CVE-2017-9871 bsc#1082392 CVE-2017-9870 bsc#1082393 CVE-2017-9869 bsc#1082395 CVE-2017-9411 bsc#1082397 CVE-2015-9101 bsc#1082400)
- CVE-2017-11720: Fix a division by zero vulnerability. (bsc#1082311)
- CVE-2017-9410: Fix fill_buffer_resample function in libmp3lame/util.c heap-based buffer over-read and ap (bsc#1082333)
- CVE-2017-9411: Fix fill_buffer_resample function in libmp3lame/util.c invalid memory read and application crash (bsc#1082397)
- CVE-2017-9412: FIx unpack_read_samples function in frontend/get_audio.c invalid memory read and application crash (bsc#1082340)
- Fix clip detect scale suggestion unaware of scale input value
- HIP decoder bug fixed: decoding mixed blocks of lower sample frequency Layer3 data resulted in internal buffer overflow.
- Add lame_encode_buffer_interleaved_int()
- Record
openSUSE-SU-2018:0544-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lameDebian:12 |
before 3.99.5+repack1-8 | 3.99.5+repack1-8 |
lameDebian:13 |
before 3.99.5+repack1-8 | 3.99.5+repack1-8 |
lameDebian:14 |
before 3.99.5+repack1-8 | 3.99.5+repack1-8 |
lameUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 3.99.5+repack1-33.99.5+repack1-3ubuntu13.99.5+repack1-3ubuntu1+esm23.99.5+repack1-3ubuntu1+esm3 |
None known |
lameSUSE:Package Hub 12 SP2 |
before 3.100-6.1 | 3.100-6.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-9871 is a high vulnerability (CVSS 7.8) in Lame Project Lame, published June 25, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.50%, the 74th percentile. Fixed in lame 3.99.5+repack1-8.
References
securityfocus.com/bid/99289
blogs.gentoo.org/ago/2017/06/17/lame-stack-based-buffer-overflow-in-iii_i_stereo-layer3-c
nvd.nist.gov/vuln/detail/CVE-2017-9871
github.com/advisories/GHSA-fvg4-h7q3-6jvm
security-tracker.debian.org/tracker/CVE-2017-9871
ubuntu.com/security/CVE-2017-9871
Show 27 moreShow less
cve.org/CVERecord?id=CVE-2017-9871
lists.opensuse.org/archives/list/[email protected]/thread/6JQYYKDCEI244XVDO6HZ4YNU7XFZRJG7
bugzilla.suse.com/1082311
bugzilla.suse.com/1082317
bugzilla.suse.com/1082333
bugzilla.suse.com/1082340
bugzilla.suse.com/1082391
bugzilla.suse.com/1082392
bugzilla.suse.com/1082393
bugzilla.suse.com/1082395
bugzilla.suse.com/1082397
bugzilla.suse.com/1082399
bugzilla.suse.com/1082400
bugzilla.suse.com/1082401
suse.com/security/cve/CVE-2015-9100
suse.com/security/cve/CVE-2015-9101
suse.com/security/cve/CVE-2017-11720
suse.com/security/cve/CVE-2017-13712
suse.com/security/cve/CVE-2017-15019
suse.com/security/cve/CVE-2017-9410
suse.com/security/cve/CVE-2017-9411
suse.com/security/cve/CVE-2017-9412
suse.com/security/cve/CVE-2017-9869
suse.com/security/cve/CVE-2017-9870
suse.com/security/cve/CVE-2017-9871
suse.com/security/cve/CVE-2017-9872
lists.opensuse.org/archives/list/[email protected]/thread/KH623JZ3J2KZAJL44XIFV3PAHON2NVKG