#VU18789 Division by zero in libsndfile - CVE-2017-16942


Vulnerability identifier: #VU18789

Vulnerability risk: Low

CVSSv4.0: 0.2 [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: Network

Exploit availability: No

Vulnerable software:
libsndfile
Client/Desktop applications / Multimedia software

Vendor: Erik de Castro Lopo

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

libsndfile: 1.0.25


External links
https://github.com/erikd/libsndfile/issues/341


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability