Heap-based buffer overflow in libmodplug - CVE-2009-1438
Published: December 22, 2016 / Updated: March 16, 2017
Vulnerability identifier: #VU2689
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red
CVE-ID: CVE-2009-1438
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: ModPlug
Affected software:
libmodplug
libmodplug
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The weakness exists due to heap-based buffer overflow, caused by an integer overflow in the CSoundFile::ReadMed() function. A remote attacker can create MED file containing a specially crafted song comment or name, trick the victim into opening it, trigger memory corruption and execute arbitrary code with privileges of the current user.
Successful exploitation of the vulnerability results in arbitrary code execution on the vulnerable system.
Note: the vulnerability was being actively exploited.
The weakness exists due to heap-based buffer overflow, caused by an integer overflow in the CSoundFile::ReadMed() function. A remote attacker can create MED file containing a specially crafted song comment or name, trick the victim into opening it, trigger memory corruption and execute arbitrary code with privileges of the current user.
Successful exploitation of the vulnerability results in arbitrary code execution on the vulnerable system.
Note: the vulnerability was being actively exploited.
How to mitigate CVE-2009-1438
Update to version 0.8.6.