Division by zero in libsndfile - CVE-2017-16942

 

Division by zero in libsndfile - CVE-2017-16942

Published: June 13, 2019


Vulnerability identifier: #VU18789
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-16942
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Erik de Castro Lopo
Affected software:
libsndfile

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a divide by zero error in the wav_w64_read_fmt_chunk() function in wav_w64.c file while playing a crafted audio file. A remote attacker can pass a specially crafted file to the affected application, trigger division by zero error and crash the affected application.


How to mitigate CVE-2017-16942

Install update from vendor's website.

Sources