Stack-based buffer overflow in libsndfile - CVE-2017-7585

 

Stack-based buffer overflow in libsndfile - CVE-2017-7585

Published: June 2, 2017 / Updated: June 5, 2017


Vulnerability identifier: #VU6878
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-7585
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to an error in the "flac_buffer_copy()" function (flac.c). A remote attacker can send a specially crafted FLAC file, trick the victim into opening it, trigger stack-based buffer overflow and execute arbitrary code with privileges of the current user.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

libsndfile
Gentoo Linux
Ubuntu
Fedora
libsndfile (Alpine package)
libsndfile
Microsoft Lync

How to mitigate CVE-2017-7585

Update to version 1.0.28.

libsndfile (Alpine package) - update to 1.0.28-r0
libsndfile - addressed in versions 1.0.28-1.fc24, 1.0.28-1.fc25, 1.0.28-1.fc26

External References

Related Security Bulletins