CVE-2017-9412
The unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers...
The unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted wav 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 unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted wav file.
- Record
CVE-2017-9412- 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-119
- Updated
- 2026-11-02
CVE List No score
The unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted wav file.
- Record
CVE-2017-9412- Updated
- 2026-11-02
EUVDEUVD-2017-18347 No score
The unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted wav file.
- Record
EUVD-2017-18347- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-89mf-955x-wx32
5.5
The unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers...
The unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted wav file.
- Record
GHSA-89mf-955x-wx32- 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-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-9412
5.5
The unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted wav file.
- Record
ALPINE-CVE-2017-9412- 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
OSV
5.5
The unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted wav file.
- Record
CVE-2017-9412- 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
Show 7 moreShow less
OSVDEBIAN-CVE-2017-9412
5.5
The unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted wav file.
- Record
DEBIAN-CVE-2017-9412- 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-9412
5.5
The unpack_read_samples function in frontend/get_audio.c in LAME 3.99.5 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted wav file.
- Record
UBUNTU-CVE-2017-9412- 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
OSVMGASA-2017-0434 No score
Updated lame packages fix security vulnerabilities
LAME 3.100 has been released including fixes to security vulnerabilities. Note the MP3 patents have expired.
- Record
MGASA-2017-0434- 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
OSVopenSUSE-SU-2024:10907-1 No score
lame-3.100-3.7 on GA media
These are all security issues fixed in the lame-3.100-3.7 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10907-1- Updated
- 2026-11-02
OSVUSN-4780-1 No score
lame vulnerabilities
It was discovered that LAME incorrectly handled certain audio files. A remote attacker could possibly use this issue to cause a denial of service. Eight vulnerabilities (CVE-2015-9099, CVE-2015-9100, CVE-2015-9101, CVE-2017-15018, CVE-2017-11720, CVE-2017-8419, CVE-2017-9412, CVE-2017-15045) only affected Ubuntu 14.04 ESM, two vulnerabilities (CVE-2017-9410 and CVE-2017-9411) only affected Ubuntu 16.04 ESM, and one vulnerability (CVE-2017-15019) affected both Ubuntu 14.04 ESM and Ubuntu 16.04.
- Record
USN-4780-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lameAlpine:v3.10 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.11 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.12 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.13 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.14 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.15 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.16 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.17 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.18 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.19 |
before 3.99.5-r6 | 3.99.5-r6 |
Show 22 moreShow less
| Package | Affected | Fixed |
|---|---|---|
lameAlpine:v3.20 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.21 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.22 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.23 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.24 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.3 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.4 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.5 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.6 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.7 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.8 |
before 3.99.5-r6 | 3.99.5-r6 |
lameAlpine:v3.9 |
before 3.99.5-r6 | 3.99.5-r6 |
lameDebian:12 |
before 3.99.5+repack1-7 | 3.99.5+repack1-7 |
lameDebian:13 |
before 3.99.5+repack1-7 | 3.99.5+repack1-7 |
lameDebian:14 |
before 3.99.5+repack1-7 | 3.99.5+repack1-7 |
lameMageia:5 From an advisory covering 7 CVEs |
before 3.100-1.mga5.tainted | 3.100-1.mga5.tainted |
lameMageia:6 From an advisory covering 7 CVEs |
before 3.100-1.mga6 | 3.100-1.mga6 |
lameUbuntu:Pro:14.04:LTS |
before 3.99.5+repack1-3ubuntu1+esm2, plus listed versions 3.99.5+repack1-33.99.5+repack1-3ubuntu1 |
3.99.5+repack1-3ubuntu1+esm2 |
lameUbuntu:Pro:14.04:LTS From an advisory covering 12 CVEs |
before 3.99.5+repack1-3ubuntu1+esm3, plus listed versions 3.99.5+repack1-33.99.5+repack1-3ubuntu13.99.5+repack1-3ubuntu1+esm2 |
3.99.5+repack1-3ubuntu1+esm3 |
lameUbuntu:Pro:16.04:LTS From an advisory covering 12 CVEs |
before 3.99.5+repack1-9ubuntu0.1~esm2, plus listed versions 3.99.5+repack1-93.99.5+repack1-9build13.99.5+repack1-9ubuntu0.1~esm1 |
3.99.5+repack1-9ubuntu0.1~esm2 |
lameSUSE:Package Hub 12 SP2 From an advisory covering 12 CVEs |
before 3.100-6.1 | 3.100-6.1 |
lameopenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 3.100-3.7 | 3.100-3.7 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | LAME 3.99.5 - Multiple Vulnerabilities | 2017-07-28 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-9412 is a medium vulnerability (CVSS 5.5) in Lame Project Lame, published July 27, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 4.08%, the 90th percentile. Fixed in lame 3.99.5-r6.
References
seclists.org/fulldisclosure/2017/Jul/63
exploit-db.com/exploits/42390
nvd.nist.gov/vuln/detail/CVE-2017-9412
github.com/advisories/GHSA-89mf-955x-wx32
security.alpinelinux.org/vuln/CVE-2017-9412
security-tracker.debian.org/tracker/CVE-2017-9412
Show 43 moreShow less
advisories.mageia.org/MGASA-2017-0434.html
bugs.mageia.org/show_bug.cgi?id=21170
openwall.com/lists/oss-security/2017/10/21/7
ubuntu.com/security/CVE-2017-9412
cve.org/CVERecord?id=CVE-2017-9412
ubuntu.com/security/notices/USN-4780-1
ubuntu.com/security/CVE-2015-9099
ubuntu.com/security/CVE-2015-9100
ubuntu.com/security/CVE-2015-9101
ubuntu.com/security/CVE-2017-8419
ubuntu.com/security/CVE-2017-9410
ubuntu.com/security/CVE-2017-9411
ubuntu.com/security/CVE-2017-11720
ubuntu.com/security/CVE-2017-13712
ubuntu.com/security/CVE-2017-15018
ubuntu.com/security/CVE-2017-15019
ubuntu.com/security/CVE-2017-15045
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