CVE-2017-6828
Heap-based buffer overflow in the readValue function in FileHandle.cpp in audiofile (aka...
CVE-2017-6828 is a high vulnerability (CVSS 7.8) in Audiofile, published March 15, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.24%, the 88th percentile. Fixed in audiofile 0.3.6-4.
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.
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
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2017-6828- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-6828- Updated
- 2026-11-02
EUVDEUVD-2017-15882 No score
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.
- Record
EUVD-2017-15882- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7736-fv8c-79g6
7.8
Heap-based buffer overflow in the readValue function in FileHandle.cpp in audiofile (aka...
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.
- Record
GHSA-7736-fv8c-79g6- CVSS 3.0
- 7.8 High
CVSS: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
OSVAZL-36920
7.8
CVE-2017-6828 affecting package audiofile 0.3.6-27
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.
- Record
AZL-36920- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-7171
7.8
CVE-2017-6828 affecting package audiofile 0.3.6-27
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.
- Record
AZL-7171- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSV
7.8
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.
- Record
CVE-2017-6828- CVSS 3.0
- 7.8 High
CVSS: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-6828
7.8
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.
- Record
DEBIAN-CVE-2017-6828- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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-6828
7.8
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.
- Record
UBUNTU-CVE-2017-6828- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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
OSVopenSUSE-SU-2024:10640-1 No score
audiofile-0.3.6-11.13 on GA media
These are all security issues fixed in the audiofile-0.3.6-11.13 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10640-1- 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 15 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 |
audiofileopenSUSE:Tumbleweed |
before 0.3.6-11.13 | 0.3.6-11.13 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-readvalue-filehandle-cpp
securityfocus.com/bid/97183
debian.org/security/2017/dsa-3814
nvd.nist.gov/vuln/detail/CVE-2017-6828
github.com/advisories/GHSA-7736-fv8c-79g6
security-tracker.debian.org/tracker/CVE-2017-6828
Show 51 moreShow less
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-6839
nvd.nist.gov/vuln/detail/CVE-2017-6838
nvd.nist.gov/vuln/detail/CVE-2017-6831
nvd.nist.gov/vuln/detail/CVE-2017-6829
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-6828
ubuntu.com/security/notices/USN-3241-1
cve.org/CVERecord?id=CVE-2017-6828
ubuntu.com/security/CVE-2017-6827
ubuntu.com/security/CVE-2017-6829
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
suse.com/security/cve/CVE-2018-17095