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

 

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

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


Vulnerability identifier: #VU6879
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-7586
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 "header_read()" function (common.c) when handling ID3 tags. 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

How to mitigate CVE-2017-7586

Update to version 1.0.28.

libsndfile - addressed in versions 1.0.28-1.fc24, 1.0.28-1.fc25, 1.0.28-1.fc26

External References

Related Security Bulletins