cbcvebase.
CVE-2015-7747
published 2020-02-19

CVE-2015-7747: Buffer overflow in the afReadFrames function in audiofile (aka libaudiofile and Audio File Library) allows user-assisted remote attackers to cause a denial of…

PriorityP345high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
8.80%
94.6th percentile
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.

Affected

14 ranges
VendorProductVersion rangeFixed in
audiofileaudiofile< 0.3.60.3.6
audiofileaudiofile>= 0 < 0.3.6-30.3.6-3
audiofileaudiofile>= 0 < 0.3.6-30.3.6-3
audiofileaudiofile>= 0 < 0.3.6-30.3.6-3
audiofileaudiofile>= 0 < 0.3.6-30.3.6-3
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debianaudiofile< audiofile 0.3.6-3 (bookworm)audiofile 0.3.6-3 (bookworm)
fedoraprojectfedora
msrcazl3_audiofile_0.3.6-27_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64

Detection & IOCsextracted from sources · hover to see the quote

filenamesixteen-stereo-to-eight-mono.c
  • Trigger condition: buffer overflow occurs specifically when afReadFrames is called after changing BOTH the number of channels (e.g. stereo to mono) AND the sample format (e.g. 16-bit to 8-bit) simultaneously — monitor for audiofile API usage with mismatched channel/sample-format conversions.
  • Vulnerable code path: afReadFrames treats the output buffer as int16_t instead of int8_t when sample format is downgraded, writing past the buffer end — look for heap/stack corruption signals in processes using libaudiofile during format conversion.
  • The vulnerability was introduced by a specific upstream commit; RHEL6 is NOT affected because that commit never landed there — scope detection efforts to RHEL5, RHEL7, and Fedora deployments.
  • ·RHEL6 is explicitly NOT affected; RHEL5 and RHEL7 are affected but marked 'Will not fix' by Red Hat — do not apply RHEL6 patch status to other RHEL versions.
  • ·Exploitation is conditional on how the audiofile library is used by the calling application and which operations are performed — not all audiofile usage is exploitable.
  • ·Debian fixed the issue in audiofile version 0.3.6-3 across all supported releases (bookworm, bullseye, trixie, sid, forky).

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_msrc8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.