{"id":"CVE-2015-7747","aliases":["AZL-44172","DEBIAN-CVE-2015-7747","EUVD-2015-7647","GHSA-87hr-6cw6-rj3c","MGASA-2015-0408","SUSE-SU-2017:0940-1","UBUNTU-CVE-2015-7747","USN-2787-1","openSUSE-SU-2024:10267-1"],"status":"published","title":"Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File...","description":"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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.08802,"percentile":0.95218,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2015-10-09T00:00:00Z","modified":"2026-11-05T05:36:30Z","fixes":[{"ecosystem":"Azure Linux:3","package":"audiofile","fixed_in":["0.3.6-27"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"audiofile","fixed_in":["0.3.6-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"audiofile","fixed_in":["0.3.6-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"audiofile","fixed_in":["0.3.6-3"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"audiofile","fixed_in":["0.3.6-4.1.mga5"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"audiofile","fixed_in":["0.3.6-2ubuntu0.14.04.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"audiofile","fixed_in":["0.3.6-9.5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-27"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-3"}]}]},{"source":"osv","ecosystem":"Mageia:5","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-4.1.mga5"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-10.1"}]}],"bundled":14},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-10.1"}]}],"bundled":14},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-10.1"}]}],"bundled":14},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-10.1"}]}],"bundled":14},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-10.1"}]}],"bundled":14},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-10.1"}]}],"bundled":14},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-10.1"}]}],"bundled":14},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-10.1"}]}],"bundled":14},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-10.1"}]}],"bundled":14},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-2ubuntu0.14.04.1"}]}],"versions":["0.3.6-2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-2ubuntu0.14.04.1"}]}],"versions":["0.3.6-2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"audiofile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-9.5"}]}]}],"products":[{"vendor":"audiofile","product":"audiofile"},{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"fedoraproject","product":"fedora"}],"references":[{"url":"http://www.ubuntu.com/usn/USN-2787-1","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/audiofile/+bug/1502721","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2015/10/06/2","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article","report"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-November/170387.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2015/10/08/1","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"https://github.com/ccrisan/motioneyeos/blob/master/package/audiofile/0008-CVE-2015-7747.patch","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-7747","tags":["web"]},{"url":"https://github.com/advisories/GHSA-87hr-6cw6-rj3c"},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-7747","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2015-0408.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=16923","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2015/10/08/1","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20170940-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1026978","tags":["report"]},{"url":"https://bugzilla.suse.com/1026979","tags":["report"]},{"url":"https://bugzilla.suse.com/1026980","tags":["report"]},{"url":"https://bugzilla.suse.com/1026981","tags":["report"]},{"url":"https://bugzilla.suse.com/1026982","tags":["report"]},{"url":"https://bugzilla.suse.com/1026983","tags":["report"]},{"url":"https://bugzilla.suse.com/1026984","tags":["report"]},{"url":"https://bugzilla.suse.com/1026985","tags":["report"]},{"url":"https://bugzilla.suse.com/1026986","tags":["report"]},{"url":"https://bugzilla.suse.com/1026987","tags":["report"]},{"url":"https://bugzilla.suse.com/1026988","tags":["report"]},{"url":"https://bugzilla.suse.com/949399","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-7747","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6827","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6828","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6829","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6830","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6831","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6832","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6833","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6834","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6835","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6836","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6837","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6838","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6839","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2015-7747","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-2787-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-7747","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2015-7747","description":"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.","status":"published","published":"2020-02-19T20:27:49Z","modified":"2024-08-06T07:58:59.974Z","updated_at":"2026-11-02T14:35:44.744952Z"}],"euvd":[{"id":"EUVD-2015-7647","description":"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.","status":"published","published":"2020-02-19T20:27:49Z","modified":"2024-08-06T07:58:59Z","updated_at":"2026-11-03T02:21:51.562291Z"}],"ghsa":[{"id":"GHSA-87hr-6cw6-rj3c","title":"Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File...","description":"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.","status":"published","published":"2022-05-24T17:09:18Z","modified":"2025-08-13T21:31:31Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T15:03:16.715076Z"}],"nvd":[{"id":"CVE-2015-7747","description":"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.","status":"published","published":"2020-02-19T21:15:11.2Z","modified":"2026-06-17T00:33:03.67Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:03:19.73542Z"}],"osv":[{"id":"AZL-44172","title":"CVE-2015-7747 affecting package audiofile for versions less than 0.3.6-27","description":"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.","status":"published","published":"2020-02-19T21:15:11Z","modified":"2026-11-05T05:36:30Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-05T16:41:20.107976Z"},{"id":"CVE-2015-7747","description":"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.","status":"published","published":"2020-02-19T21:15:11Z","modified":"2026-04-16T06:19:30.805509055Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:01.068991Z"},{"id":"DEBIAN-CVE-2015-7747","description":"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.","status":"published","published":"2020-02-19T21:15:11.2Z","modified":"2026-09-09T07:01:14.251616597Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:27.04239Z"},{"id":"UBUNTU-CVE-2015-7747","description":"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.","status":"published","published":"2015-10-09T00:00:00Z","modified":"2026-04-22T10:18:44.800272Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:10.737723Z"},{"id":"MGASA-2015-0408","title":"Updated audiofile packages fixes security vulnerability","description":"When libaudiofile is used to change both the number of channels of an\naudio file (e.g. from stereo to mono) and the sample format (e.g. from\n16-bit samples to 8-bit samples), the output file will contain corrupted\ndata.\tIf the new sample format is smaller than the old one, there is a\nrisk of buffer overflow: e.g. when the input file has 16-bit samples and\nthe output file has 8-bit samples, afReadFrames will treat the buffer to\nread the samples (argument void *data) as a pointer to int16_t instead of\nint8_t, therefore it will write past its end (CVE-2015-7747).\n","status":"published","published":"2015-10-25T14:38:05Z","modified":"2026-04-16T06:26:14.019630952Z","updated_at":"2026-11-02T15:49:39.792687Z"},{"id":"openSUSE-SU-2024:10267-1","title":"audiofile-0.3.6-9.5 on GA media","description":"These are all security issues fixed in the audiofile-0.3.6-9.5 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:33:59.631823Z","updated_at":"2026-11-02T16:58:33.135986Z"},{"id":"SUSE-SU-2017:0940-1","title":"Security update for audiofile","description":"\nThis audiofile update fixes the following issue:\n\nSecurity issues fixed:\n- CVE-2015-7747: Fixed buffer overflow issue when changing both number of channels and sample format. (bsc#949399)\n- CVE-2017-6827: heap-based buffer overflow in MSADPCM::initializeCoefficients (MSADPCM.cpp) (bsc#1026979)\n- CVE-2017-6828: heap-based buffer overflow in readValue (FileHandle.cpp) (bsc#1026980)\n- CVE-2017-6829: global buffer overflow in decodeSample (IMA.cpp) (bsc#1026981)\n- CVE-2017-6830: heap-based buffer overflow in alaw2linear_buf (G711.cpp) (bsc#1026982)\n- CVE-2017-6831: heap-based buffer overflow in IMA::decodeBlockWAVE (IMA.cpp) (bsc#1026983)\n- CVE-2017-6832: heap-based buffer overflow in MSADPCM::decodeBlock (MSADPCM.cpp) (bsc#1026984)\n- CVE-2017-6833: divide-by-zero in BlockCodec::runPull (BlockCodec.cpp) (bsc#1026985)\n- CVE-2017-6834: heap-based buffer overflow in ulaw2linear_buf (G711.cpp) (bsc#1026986)\n- CVE-2017-6835: divide-by-zero in BlockCodec::reset1 (BlockCodec.cpp) (bsc#1026988)\n- CVE-2017-6836: heap-based buffer overflow in Expand3To4Module::run (SimpleModule.h) (bsc#1026987)\n- CVE-2017-6837, CVE-2017-6838, CVE-2017-6839: multiple ubsan crashes (bsc#1026978)\n","status":"published","published":"2017-04-05T12:26:41Z","modified":"2026-02-04T04:08:16.620848Z","updated_at":"2026-11-02T15:53:43.83457Z"},{"id":"USN-2787-1","title":"audiofile vulnerability","description":"Fabrizio Gennari discovered that audiofile incorrectly handled changing\nboth the sample format and the number of channels. If a user or automated\nsystem were tricked into processing a specially crafted file, audiofile\ncould be made to crash, leading to a denial of service, or possibly execute\narbitrary code.\n","status":"published","published":"2015-10-28T19:39:13Z","modified":"2026-04-22T09:17:34.747166Z","updated_at":"2026-11-02T16:58:10.303275Z"}]}}
