#VU55455 Heap-based buffer overflow in libsndfile


Published: 2021-08-01 | Updated: 2022-03-28

Vulnerability identifier: #VU55455

Vulnerability risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-3246

CWE-ID: CWE-122

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 execute arbitrary code on the target system.

The vulnerability exists due to a boundary error msadpcm_decode_block() function of libsndfile. A remote attacker can trick the victim to open a specially crafted WAV file, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

libsndfile: 1.0.0 - 1.0.31


External links
http://github.com/libsndfile/libsndfile/issues/687
http://github.com/libsndfile/libsndfile/releases/tag/1.1.0


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