CVE-2017-6829
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote...
CVE-2017-6829 is a medium vulnerability (CVSS 5.5) in Audiofile, published March 13, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.85%, the 86th percentile. Fixed in audiofile 0.3.6-4.
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted 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 decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
- Record
CVE-2017-6829- 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 decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
- Record
CVE-2017-6829- Updated
- 2026-11-02
EUVDEUVD-2017-15883 No score
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
- Record
EUVD-2017-15883- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4346-2577-gf85
5.5
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote...
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
- Record
GHSA-4346-2577-gf85- 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
OSVAZL-36921
5.5
CVE-2017-6829 affecting package audiofile 0.3.6-27
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
- Record
AZL-36921- 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
OSVAZL-7172
5.5
CVE-2017-6829 affecting package audiofile 0.3.6-27
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
- Record
AZL-7172- 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 8 moreShow less
OSV
5.5
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
- Record
CVE-2017-6829- 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-6829
5.5
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
- Record
DEBIAN-CVE-2017-6829- 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
OSVOESA-2021-1040
7.8
audiofile security update
The Audio File Library is a C-based library for reading and writing audio files in many common formats. The Audio File Library provides a uniform API which abstracts away details of file formats and data formats. The same calls for opening a file, accessing and manipulating audio metadata (e.g. sample rate, sample format, textual information, MIDI parameters), and reading and writing sample data will work with any supported audio file format.
Security Fix(es):
Heap-based buffer overflow in the readValue function in FileHandle.cpp in audiofile (aka libaudiofile and Audio File Library) 0.3.6 allows remote attackers to have unspecified impact via a crafted WAV file.(CVE-2017-6828)
Integer overflow in modules/MSADPCM.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.(CVE-2017-6839)
Integer overflow in sfcommands/sfconvert.c in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.(CVE-2017-6838)
Heap-based buffer overflow in the decodeBlockWAVE function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.(CVE-2017-6831)
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.(CVE-2017-6829)
- Record
OESA-2021-1040- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-6829
5.5
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
- Record
UBUNTU-CVE-2017-6829- 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-0129 No score
Updated audiofile packages fix security vulnerabilities
Several vulnerabilities have been discovered in the audiofile library, which may result in denial of service or the execution of arbitrary code if a malformed audio file is processed (CVE-2017-6827, CVE-2017-6828, CVE-2017-6829, CVE-2017-6830, CVE-2017-6831, CVE-2017-6832, CVE-2017-6833, CVE-2017-6834, CVE-2017-6835, CVE-2017-6836, CVE-2017-6837, CVE-2017-6838, CVE-2017-6839).
- Record
MGASA-2017-0129- Updated
- 2026-11-02
OSVSUSE-SU-2017:0940-1 No score
Security update for audiofile
This audiofile update fixes the following issue:
Security issues fixed:
- CVE-2015-7747: Fixed buffer overflow issue when changing both number of channels and sample format. (bsc#949399)
- CVE-2017-6827: heap-based buffer overflow in MSADPCM::initializeCoefficients (MSADPCM.cpp) (bsc#1026979)
- CVE-2017-6828: heap-based buffer overflow in readValue (FileHandle.cpp) (bsc#1026980)
- CVE-2017-6829: global buffer overflow in decodeSample (IMA.cpp) (bsc#1026981)
- CVE-2017-6830: heap-based buffer overflow in alaw2linear_buf (G711.cpp) (bsc#1026982)
- CVE-2017-6831: heap-based buffer overflow in IMA::decodeBlockWAVE (IMA.cpp) (bsc#1026983)
- CVE-2017-6832: heap-based buffer overflow in MSADPCM::decodeBlock (MSADPCM.cpp) (bsc#1026984)
- CVE-2017-6833: divide-by-zero in BlockCodec::runPull (BlockCodec.cpp) (bsc#1026985)
- CVE-2017-6834: heap-based buffer overflow in ulaw2linear_buf (G711.cpp) (bsc#1026986)
- CVE-2017-6835: divide-by-zero in BlockCodec::reset1 (BlockCodec.cpp) (bsc#1026988)
- CVE-2017-6836: heap-based buffer overflow in Expand3To4Module::run (SimpleModule.h) (bsc#1026987)
- CVE-2017-6837, CVE-2017-6838, CVE-2017-6839: multiple ubsan crashes (bsc#1026978)
- Record
SUSE-SU-2017:0940-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:1182-1 No score
Security update for audiofile
This update for audiofile fixes the following issues:
Security issues fixed:
- CVE-2017-6827: heap-based buffer overflow in MSADPCM::initializeCoefficients (MSADPCM.cpp) (bsc#1026979)
- CVE-2017-6828: heap-based buffer overflow in readValue (FileHandle.cpp) (bsc#1026980)
- CVE-2017-6829: global buffer overflow in decodeSample (IMA.cpp) (bsc#1026981)
- CVE-2017-6830: heap-based buffer overflow in alaw2linear_buf (G711.cpp) (bsc#1026982)
- CVE-2017-6831: heap-based buffer overflow in IMA::decodeBlockWAVE (IMA.cpp) (bsc#1026983)
- CVE-2017-6832: heap-based buffer overflow in MSADPCM::decodeBlock (MSADPCM.cpp) (bsc#1026984)
- CVE-2017-6833: divide-by-zero in BlockCodec::runPull (BlockCodec.cpp) (bsc#1026985)
- CVE-2017-6834: heap-based buffer overflow in ulaw2linear_buf (G711.cpp) (bsc#1026986)
- CVE-2017-6835: divide-by-zero in BlockCodec::reset1 (BlockCodec.cpp) (bsc#1026988)
- CVE-2017-6836: heap-based buffer overflow in Expand3To4Module::run (SimpleModule.h) (bsc#1026987)
- CVE-2017-6837, CVE-2017-6838, CVE-2017-6839: multiple ubsan crashes (bsc#1026978)
- Record
SUSE-SU-2017:1182-1- Updated
- 2026-11-02
OSVUSN-3241-1 No score
audiofile vulnerabilities
Agostino Sarubbo discovered that audiofile incorrectly handled certain malformed audio files. If a user or automated system were tricked into processing a specially crafted audio file, a remote attacker could cause applications linked against audiofile to crash, leading to a denial of service, or possibly execute arbitrary code.
- Record
USN-3241-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
audiofileAzure Linux:3 |
through 0.3.6-27 | None known |
audiofileAzure Linux:2 |
through 0.3.6-27 | None known |
audiofileDebian:12 |
before 0.3.6-4 | 0.3.6-4 |
audiofileDebian:13 |
before 0.3.6-4 | 0.3.6-4 |
audiofileDebian:14 |
before 0.3.6-4 | 0.3.6-4 |
audiofileDebian:7 |
before 0.3.4-2+deb7u1, plus listed versions 0.3.4-2 |
0.3.4-2+deb7u1 |
audiofileDebian:8 |
before 0.3.6-2+deb8u2, plus listed versions 0.3.6-20.3.6-2+deb8u1 |
0.3.6-2+deb8u2 |
audiofileMageia:5 |
before 0.3.6-4.3.mga5 | 0.3.6-4.3.mga5 |
audiofileopenEuler:20.03-LTS |
before 0.3.6-25.oe1 | 0.3.6-25.oe1 |
audiofileopenEuler:20.03-LTS-SP1 |
before 0.3.6-25.oe1 | 0.3.6-25.oe1 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
audiofileSUSE:Linux Enterprise Desktop 12 SP1 |
before 0.3.6-10.1 | 0.3.6-10.1 |
audiofileSUSE:Linux Enterprise Desktop 12 SP2 |
before 0.3.6-10.1 | 0.3.6-10.1 |
audiofileSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 0.3.6-10.1 | 0.3.6-10.1 |
audiofileSUSE:Linux Enterprise Software Development Kit 12 SP1 |
before 0.3.6-10.1 | 0.3.6-10.1 |
audiofileSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 0.3.6-10.1 | 0.3.6-10.1 |
audiofileSUSE:Linux Enterprise Server 12 SP1 |
before 0.3.6-10.1 | 0.3.6-10.1 |
audiofileSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 0.3.6-10.1 | 0.3.6-10.1 |
audiofileSUSE:Linux Enterprise Server 12 SP2 |
before 0.3.6-10.1 | 0.3.6-10.1 |
audiofileSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 0.3.6-10.1 | 0.3.6-10.1 |
audiofileSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 0.2.6-142.17.1 | 0.2.6-142.17.1 |
audiofileSUSE:Linux Enterprise Server 11 SP4 |
before 0.2.6-142.17.1 | 0.2.6-142.17.1 |
audiofileSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 0.2.6-142.17.1 | 0.2.6-142.17.1 |
audiofileUbuntu:14.04:LTS |
before 0.3.6-2ubuntu0.14.04.2, plus listed versions 0.3.6-20.3.6-2ubuntu0.14.04.1 |
0.3.6-2ubuntu0.14.04.2 |
audiofileUbuntu:16.04:LTS |
before 0.3.6-2ubuntu0.16.04.1, plus listed versions 0.3.6-20.3.6-2ubuntu0.15.10.1 |
0.3.6-2ubuntu0.16.04.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/mpruett/audiofile/issues/33
debian.org/security/2017/dsa-3814
securityfocus.com/bid/97189
blogs.gentoo.org/ago/2017/02/20/audiofile-global-buffer-overflow-in-decodesample-ima-cpp
openwall.com/lists/oss-security/2017/03/13/1
github.com/antlarr/audiofile/commit/25eb00ce913452c2e614548d7df93070bf0d066f
Show 53 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-6829
github.com/advisories/GHSA-4346-2577-gf85
security-tracker.debian.org/tracker/CVE-2017-6829
advisories.mageia.org/MGASA-2017-0129.html
bugs.mageia.org/show_bug.cgi?id=20466
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1040
nvd.nist.gov/vuln/detail/CVE-2017-6828
nvd.nist.gov/vuln/detail/CVE-2017-6839
nvd.nist.gov/vuln/detail/CVE-2017-6838
nvd.nist.gov/vuln/detail/CVE-2017-6831
suse.com/support/update/announcement/2017/suse-su-20170940-1
bugzilla.suse.com/1026978
bugzilla.suse.com/1026979
bugzilla.suse.com/1026980
bugzilla.suse.com/1026981
bugzilla.suse.com/1026982
bugzilla.suse.com/1026983
bugzilla.suse.com/1026984
bugzilla.suse.com/1026985
bugzilla.suse.com/1026986
bugzilla.suse.com/1026987
bugzilla.suse.com/1026988
bugzilla.suse.com/949399
suse.com/security/cve/CVE-2015-7747
suse.com/security/cve/CVE-2017-6827
suse.com/security/cve/CVE-2017-6828
suse.com/security/cve/CVE-2017-6829
suse.com/security/cve/CVE-2017-6830
suse.com/security/cve/CVE-2017-6831
suse.com/security/cve/CVE-2017-6832
suse.com/security/cve/CVE-2017-6833
suse.com/security/cve/CVE-2017-6834
suse.com/security/cve/CVE-2017-6835
suse.com/security/cve/CVE-2017-6836
suse.com/security/cve/CVE-2017-6837
suse.com/security/cve/CVE-2017-6838
suse.com/security/cve/CVE-2017-6839
suse.com/support/update/announcement/2017/suse-su-20171182-1
ubuntu.com/security/CVE-2017-6829
ubuntu.com/security/notices/USN-3241-1
cve.org/CVERecord?id=CVE-2017-6829
ubuntu.com/security/CVE-2017-6827
ubuntu.com/security/CVE-2017-6828
ubuntu.com/security/CVE-2017-6830
ubuntu.com/security/CVE-2017-6831
ubuntu.com/security/CVE-2017-6832
ubuntu.com/security/CVE-2017-6833
ubuntu.com/security/CVE-2017-6834
ubuntu.com/security/CVE-2017-6835
ubuntu.com/security/CVE-2017-6836
ubuntu.com/security/CVE-2017-6837
ubuntu.com/security/CVE-2017-6838
ubuntu.com/security/CVE-2017-6839