CVE-2021-23159 Memory corruption in SoX (Sound eXchange)
A heap-buffer-overflow in SoX allows attackers to cause a denial of service via a crafted audio file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-23159?
CVE-2021-23159 is a medium-severity memory corruption vulnerability in SoX (Sound eXchange), published on 25 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A vulnerability was found in SoX, where a heap-buffer-overflow occurs in function lsx_read_w_buf() in formats_i.c file. The vulnerability is exploitable with a crafted file, that could cause an application to crash.
Which versions are affected by CVE-2021-23159?
It affects 1 product.
Products include Sound Exchange Project Sound Exchange.
How do I fix CVE-2021-23159?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-23159 being exploited?
There is no known exploitation of CVE-2021-23159 in the wild and no public exploit code.
Other vulnerabilities in SoX (Sound eXchange)
Sources
Also known as AZL-43504, AZL-45324, DEBIAN-CVE-2021-23159, GHSA-c7w7-5cff-9ccj, UBUNTU-CVE-2021-23159.