Integer overflow leading to code execution in libmodplug MED parsing
CVE-2009-1438 is an integer overflow in the CSoundFile::ReadMed function in libmodplug versions before 0.8.6. Parsing a MED file containing a crafted song comment or song name triggers a heap-based buffer overflow that permits arbitrary code execution. Affected applications include gstreamer-plugins, TTPlayer, and other products incorporating vulnerable libmodplug versions. The vulnerability was exploited in the wild in August 2008.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary code execution in the context of the application processing the malicious MED file.
If you can’t patch tonight, do this now.
As an immediate mitigation, avoid opening untrusted MED files in applications using libmodplug. Employ host-based intrusion prevention systems and application sandboxing to limit the impact of exploitation until patches can be applied.
Patch, then assume compromise.
Upgrade libmodplug to version 0.8.6 or later, and update applications that bundle or otherwise use a vulnerable version of the library.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.