It was reportec [1],[2] that libmodplug suffers from two flaws when parsing ABC files: 1) An error within the "abc_MIDI_drum()" function (src/load_abc.cpp) can be exploited to cause a buffer overflow via a specially crafted ABC file. 2) An integer overflow within the "abc_set_parts()" function (src/load_abc.cpp) can be exploited to corrupt heap memory via a specially crafted ABC file. Successful exploitation of the vulnerabilities may allow execution of arbitrary code. The vulnerabilities are confirmed in version 0.8.8.4. Other versions may also be affected. This is not yet fixed upstream. [1] http://blog.scrt.ch/2013/07/24/vlc-abc-parsing-seems-to-be-a-ctf-challenge/ [2] https://secunia.com/advisories/54388/
Created libmodplug tracking bugs for this issue: Affects: fedora-all [bug 995580] Affects: epel-5 [bug 728374] Affects: epel-6 [bug 728375]
CVE request and further information here: http://www.openwall.com/lists/oss-security/2013/08/07/13 In particular: "Okay, so the first bug is an integer overflow in j variable, it occurs here : https://github.com/gardaud/libmodplug/blob/master/src/load_abc.cpp#L1852 The second bug is a heap overflow and can be triggered in two functions abc_MIDI_drum : https://github.com/gardaud/libmodplug/blob/master/src/load_abc.cpp#L3211 and abc_MIDI_gchord : https://github.com/gardaud/libmodplug/blob/master/src/load_abc.cpp#L3258 h->gchord and h->drum are static buffers and are filled until the copied byte is in the charset (respectively 'fbcz0123456789ghijGHIJ' and 'dz0123456789')"
CVE assignments: http://www.openwall.com/lists/oss-security/2013/08/10/3 The first issue received the name CVE-2013-4233 (integer overflow) and the second issue received CVE-2013-4234 (heap overflow)
Fixed upstream in libmodplug 0.8.8.5: http://modplug-xmms.sourceforge.net/#news Upstream commits: https://github.com/Konstanty/libmodplug/commit/f5e4575 https://github.com/Konstanty/libmodplug/commit/bcee040
libmodplug-0.8.8.5-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
libmodplug-0.8.8.5-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.