Buffer overflow in SoX - CVE-2004-0557
Published: March 22, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing files within the st_wavstartread() function in wav.c. A remote attacker can create a specially crafted media file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
How to mitigate CVE-2004-0557
Links to Public Exploits and PoC-codes
External References
- http://archives.neohapsis.com/archives/vulnwatch/2004-q3/0014.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000855
- http://lwn.net/Articles/95529/
- http://lwn.net/Articles/95530/
- http://seclists.org/fulldisclosure/2004/Jul/1227.html
- http://www.debian.org/security/2004/dsa-565
- http://www.gentoo.org/security/en/glsa/glsa-200407-23.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:076
- http://www.redhat.com/support/errata/RHSA-2004-409.html
- http://www.securityfocus.com/bid/10819
- https://bugzilla.fedora.us/show_bug.cgi?id=1945
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16827
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9801