CVE-2015-7747
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File...
CVE-2015-7747 is a high vulnerability (CVSS 8.8) in Audiofile, published October 9, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 8.80%, the 95th percentile. Fixed in audiofile 0.3.6-27.
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File Library) allows user-assisted remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted audio file, as demonstrated by sixteen-stereo-to-eight-mono.c.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- 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
8.8
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File Library) allows user-assisted remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted audio file, as demonstrated by sixteen-stereo-to-eight-mono.c.
- Record
CVE-2015-7747- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/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-120
- Updated
- 2026-11-02
CVE List No score
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File Library) allows user-assisted remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted audio file, as demonstrated by sixteen-stereo-to-eight-mono.c.
- Record
CVE-2015-7747- Updated
- 2026-11-02
EUVDEUVD-2015-7647 No score
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File Library) allows user-assisted remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted audio file, as demonstrated by sixteen-stereo-to-eight-mono.c.
- Record
EUVD-2015-7647- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-87hr-6cw6-rj3c
8.8
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File...
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File Library) allows user-assisted remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted audio file, as demonstrated by sixteen-stereo-to-eight-mono.c.
- Record
GHSA-87hr-6cw6-rj3c- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-120
- Updated
- 2026-11-02
OSVAZL-44172
8.8
CVE-2015-7747 affecting package audiofile for versions less than 0.3.6-27
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File Library) allows user-assisted remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted audio file, as demonstrated by sixteen-stereo-to-eight-mono.c.
- Record
AZL-44172- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
8.8
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File Library) allows user-assisted remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted audio file, as demonstrated by sixteen-stereo-to-eight-mono.c.
- Record
CVE-2015-7747- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2015-7747
8.8
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File Library) allows user-assisted remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted audio file, as demonstrated by sixteen-stereo-to-eight-mono.c.
- Record
DEBIAN-CVE-2015-7747- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-7747
8.8
Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File Library) allows user-assisted remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted audio file, as demonstrated by sixteen-stereo-to-eight-mono.c.
- Record
UBUNTU-CVE-2015-7747- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2015-0408 No score
Updated audiofile packages fixes security vulnerability
When libaudiofile is used to change both the number of channels of an audio file (e.g. from stereo to mono) and the sample format (e.g. from 16-bit samples to 8-bit samples), the output file will contain corrupted data. If the new sample format is smaller than the old one, there is a risk of buffer overflow: e.g. when the input file has 16-bit samples and the output file has 8-bit samples, afReadFrames will treat the buffer to read the samples (argument void *data) as a pointer to int16_t instead of int8_t, therefore it will write past its end (CVE-2015-7747).
- Record
MGASA-2015-0408- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10267-1 No score
audiofile-0.3.6-9.5 on GA media
These are all security issues fixed in the audiofile-0.3.6-9.5 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10267-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
OSVUSN-2787-1 No score
audiofile vulnerability
Fabrizio Gennari discovered that audiofile incorrectly handled changing both the sample format and the number of channels. If a user or automated system were tricked into processing a specially crafted file, audiofile could be made to crash, leading to a denial of service, or possibly execute arbitrary code.
- Record
USN-2787-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
audiofileAzure Linux:3 |
before 0.3.6-27 | 0.3.6-27 |
audiofileDebian:12 |
before 0.3.6-3 | 0.3.6-3 |
audiofileDebian:13 |
before 0.3.6-3 | 0.3.6-3 |
audiofileDebian:14 |
before 0.3.6-3 | 0.3.6-3 |
audiofileMageia:5 |
before 0.3.6-4.1.mga5 | 0.3.6-4.1.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 |
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 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
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 |
audiofileUbuntu:14.04:LTS |
before 0.3.6-2ubuntu0.14.04.1, plus listed versions 0.3.6-2 |
0.3.6-2ubuntu0.14.04.1 |
audiofileopenSUSE:Tumbleweed |
before 0.3.6-9.5 | 0.3.6-9.5 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
ubuntu.com/usn/USN-2787-1
bugs.launchpad.net/ubuntu/+source/audiofile/+bug/1502721
openwall.com/lists/oss-security/2015/10/06/2
lists.fedoraproject.org/pipermail/package-announce/2015-November/170387.html
openwall.com/lists/oss-security/2015/10/08/1
github.com/ccrisan/motioneyeos/blob/master/package/audiofile/0008-CVE-2015-7747.patch
Show 35 moreShow less
nvd.nist.gov/vuln/detail/CVE-2015-7747
github.com/advisories/GHSA-87hr-6cw6-rj3c
security-tracker.debian.org/tracker/CVE-2015-7747
advisories.mageia.org/MGASA-2015-0408.html
bugs.mageia.org/show_bug.cgi?id=16923
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
ubuntu.com/security/CVE-2015-7747
ubuntu.com/security/notices/USN-2787-1
cve.org/CVERecord?id=CVE-2015-7747