CVE-2017-6835
The reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile)...
CVE-2017-6835 is a medium vulnerability (CVSS 5.5) in Audiofile, published March 14, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.88%, the 86th percentile. Fixed in audiofile 0.3.6-4.
The reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (divide-by-zero error and 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 reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted file.
- Record
CVE-2017-6835- 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-369
- Updated
- 2026-11-02
CVE List No score
The reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted file.
- Record
CVE-2017-6835- Updated
- 2026-11-02
EUVDEUVD-2017-15889 No score
The reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted file.
- Record
EUVD-2017-15889- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p7p9-959j-cg9p
5.5
The reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile)...
The reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted file.
- Record
GHSA-p7p9-959j-cg9p- 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-369
- Updated
- 2026-11-02
OSVAZL-36927
5.5
CVE-2017-6835 affecting package audiofile 0.3.6-27
The reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted file.
- Record
AZL-36927- 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-7178
5.5
CVE-2017-6835 affecting package audiofile 0.3.6-27
The reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted file.
- Record
AZL-7178- 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 reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted file.
- Record
CVE-2017-6835- 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-6835
5.5
The reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted file.
- Record
DEBIAN-CVE-2017-6835- 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-6835
5.5
The reset1 function in libaudiofile/modules/BlockCodec.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted file.
- Record
UBUNTU-CVE-2017-6835- 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
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 |
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 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
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
github.com/mpruett/audiofile/pull/42
debian.org/security/2017/dsa-3814
openwall.com/lists/oss-security/2017/03/13/7
blogs.gentoo.org/ago/2017/02/20/audiofile-divide-by-zero-in-blockcodecreset1-blockcodec-cpp
github.com/mpruett/audiofile/issues/39
nvd.nist.gov/vuln/detail/CVE-2017-6835
Show 48 moreShow less
github.com/advisories/GHSA-p7p9-959j-cg9p
security-tracker.debian.org/tracker/CVE-2017-6835
advisories.mageia.org/MGASA-2017-0129.html
bugs.mageia.org/show_bug.cgi?id=20466
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-6835
ubuntu.com/security/notices/USN-3241-1
cve.org/CVERecord?id=CVE-2017-6835
ubuntu.com/security/CVE-2017-6827
ubuntu.com/security/CVE-2017-6828
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-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