CVE-2017-9869
The II_step_one function in layer2.c in mpglib, as used in libmpgdecoder.a in LAME 3.99.5 and...
CVE-2017-9869 is a medium vulnerability (CVSS 5.5) in Lame Project Lame, published June 25, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 4.06%, the 90th percentile. Fixed in lame 3.99.5+repack1-8.
The II_step_one function in layer2.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.
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
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
The II_step_one function in layer2.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.
- Record
CVE-2017-9869- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
The II_step_one function in layer2.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.
- Record
CVE-2017-9869- Updated
- 2026-11-02
EUVDEUVD-2017-18779 No score
The II_step_one function in layer2.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.
- Record
EUVD-2017-18779- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-865p-f477-mwcx
5.5
The II_step_one function in layer2.c in mpglib, as used in libmpgdecoder.a in LAME 3.99.5 and...
The II_step_one function in layer2.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.
- Record
GHSA-865p-f477-mwcx- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
5.5
The II_step_one function in layer2.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.
- Record
CVE-2017-9869- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-9869
5.5
The II_step_one function in layer2.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.
- Record
DEBIAN-CVE-2017-9869- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-9869
5.5
The II_step_one function in layer2.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.
- Record
UBUNTU-CVE-2017-9869- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | LAME 3.99.5 - 'II_step_one' Buffer Overflow | 2017-06-26 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
References
securityfocus.com/bid/99272
blogs.gentoo.org/ago/2017/06/17/lame-global-buffer-overflow-in-ii_step_one-layer2-c
exploit-db.com/exploits/42258
nvd.nist.gov/vuln/detail/CVE-2017-9869
github.com/advisories/GHSA-865p-f477-mwcx
security-tracker.debian.org/tracker/CVE-2017-9869
Show 28 moreShow less
ubuntu.com/security/CVE-2017-9869
cve.org/CVERecord?id=CVE-2017-9869
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