CVE-2017-13712
NULL Pointer Dereference in the id3v2AddAudioDuration function in libmp3lame/id3tag.c in LAME 3...
NULL Pointer Dereference in the id3v2AddAudioDuration function in libmp3lame/id3tag.c in LAME 3.99.5 allows attackers to perform Denial of Service by triggering a NULL first argument.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
NULL Pointer Dereference in the id3v2AddAudioDuration function in libmp3lame/id3tag.c in LAME 3.99.5 allows attackers to perform Denial of Service by triggering a NULL first argument.
- Record
CVE-2017-13712- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
NULL Pointer Dereference in the id3v2AddAudioDuration function in libmp3lame/id3tag.c in LAME 3.99.5 allows attackers to perform Denial of Service by triggering a NULL first argument.
- Record
CVE-2017-13712- Updated
- 2026-11-02
EUVDEUVD-2017-5229 No score
NULL Pointer Dereference in the id3v2AddAudioDuration function in libmp3lame/id3tag.c in LAME 3.99.5 allows attackers to perform Denial of Service by triggering a NULL first argument.
- Record
EUVD-2017-5229- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p3fq-hhf9-6f56
7.5
NULL Pointer Dereference in the id3v2AddAudioDuration function in libmp3lame/id3tag.c in LAME 3...
NULL Pointer Dereference in the id3v2AddAudioDuration function in libmp3lame/id3tag.c in LAME 3.99.5 allows attackers to perform Denial of Service by triggering a NULL first argument.
- Record
GHSA-p3fq-hhf9-6f56- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSV
7.5
NULL Pointer Dereference in the id3v2AddAudioDuration function in libmp3lame/id3tag.c in LAME 3.99.5 allows attackers to perform Denial of Service by triggering a NULL first argument.
- Record
CVE-2017-13712- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-13712
7.5
NULL Pointer Dereference in the id3v2AddAudioDuration function in libmp3lame/id3tag.c in LAME 3.99.5 allows attackers to perform Denial of Service by triggering a NULL first argument.
- Record
DEBIAN-CVE-2017-13712- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2017-13712
7.5
NULL Pointer Dereference in the id3v2AddAudioDuration function in libmp3lame/id3tag.c in LAME 3.99.5 allows attackers to perform Denial of Service by triggering a NULL first argument.
- Record
UBUNTU-CVE-2017-13712- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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
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 |
|---|---|---|
lameDebian:12 |
before 3.100-1 | 3.100-1 |
lameDebian:13 |
before 3.100-1 | 3.100-1 |
lameDebian:14 |
before 3.100-1 | 3.100-1 |
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:16.04:LTS |
before 3.99.5+repack1-9ubuntu0.1~esm1, plus listed versions 3.99.5+repack1-93.99.5+repack1-9build1 |
3.99.5+repack1-9ubuntu0.1~esm1 |
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 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-13712 is a high vulnerability (CVSS 7.5) in Lame Project Lame, published August 28, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.04%, the 81st percentile. Fixed in lame 3.100-1.
References
sourceforge.net/p/lame/bugs/472
securityfocus.com/bid/100525
nvd.nist.gov/vuln/detail/CVE-2017-13712
github.com/advisories/GHSA-p3fq-hhf9-6f56
security-tracker.debian.org/tracker/CVE-2017-13712
advisories.mageia.org/MGASA-2017-0434.html
Show 42 moreShow less
bugs.mageia.org/show_bug.cgi?id=21170
openwall.com/lists/oss-security/2017/10/21/7
ubuntu.com/security/CVE-2017-13712
cve.org/CVERecord?id=CVE-2017-13712
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-9412
ubuntu.com/security/CVE-2017-11720
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