Heap-based buffer overflow in libsndfile - CVE-2017-12562
Published: March 7, 2018
Vulnerability identifier: #VU10867
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-12562
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The weakness exists in the psf_binheader_writef function due to heap-based buffer overflow. A remote attacker can trick the victim into opening a specially crafted input, trigger a heap-based buffer overflow condition and cause the service to crash.
The weakness exists in the psf_binheader_writef function due to heap-based buffer overflow. A remote attacker can trick the victim into opening a specially crafted input, trigger a heap-based buffer overflow condition and cause the service to crash.
Affected software
libsndfile
Gentoo Linux
Ubuntu
Fedora
libsndfile (Alpine package)
libsndfile1 (Ubuntu package)
sndfile-programs (Ubuntu package)
libsndfile
Gentoo Linux
Ubuntu
Fedora
libsndfile (Alpine package)
libsndfile1 (Ubuntu package)
sndfile-programs (Ubuntu package)
libsndfile
How to mitigate CVE-2017-12562
Install update from vendor's website.
libsndfile (Alpine package) - update to 1.0.28-r2
libsndfile1 (Ubuntu package) - addressed in versions 1.0.25-10ubuntu0.16.04.3, 1.0.2510ubuntu0.16.04.3+esm2
sndfile-programs (Ubuntu package) - addressed in versions 1.0.25-10ubuntu0.16.04.3, 1.0.2510ubuntu0.16.04.3+esm2
libsndfile - addressed in versions 1.0.28-6.fc25, 1.0.28-6.fc26
libsndfile1 (Ubuntu package) - addressed in versions 1.0.25-10ubuntu0.16.04.3, 1.0.2510ubuntu0.16.04.3+esm2
sndfile-programs (Ubuntu package) - addressed in versions 1.0.25-10ubuntu0.16.04.3, 1.0.2510ubuntu0.16.04.3+esm2
libsndfile - addressed in versions 1.0.28-6.fc25, 1.0.28-6.fc26