Every CVE Search/ Get API key

CVE-2017-9871

The III_i_stereo function in layer3.c in mpglib, as used in libmpgdecoder.a in LAME 3.99.5 and...

7.8 HighFix available

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

1.50%Up 0.5 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
lame
Debian:12
before 3.99.5+repack1-8
3.99.5+repack1-8
lame
Debian:13
before 3.99.5+repack1-8
3.99.5+repack1-8
lame
Debian:14
before 3.99.5+repack1-8
3.99.5+repack1-8
lame
Ubuntu: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
lame
SUSE:Package Hub 12 SP2
before 3.100-6.1
3.100-6.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 27 moreShow less
MoveEnter Open