Out-of-bounds read in libsndfile - CVE-2018-19758

 

Out-of-bounds read in libsndfile - CVE-2018-19758

Published: December 3, 2018 / Updated: August 17, 2023


Vulnerability identifier: #VU16205
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2018-19758
CWE-ID: CWE-125
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 heap-based buffer overread condition in the wav_write_headerfunction, as defined in the wav.c source code file. A remote attacker can trick the victim into following a custom link or opening a crafted audio file that submits malicious input, trigger memory corruption and perform a denial of service attack.


How to mitigate CVE-2018-19758

Install update from vendor's website.

Sources