Buffer overflow in libopenmpt - CVE-2019-17113
Published: October 10, 2019
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the ModPlug_InstrumentName() and ModPlug_SampleName() functions in libopenmpt_modplug.c within the libmodplug library. 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
Debian Linux
Opensuse
Ubuntu
libopenmpt (Ubuntu package)
libopenmpt (Debian package)
How to mitigate CVE-2019-17113
libopenmpt (Ubuntu package) - update to 0.3.6-1ubuntu0.1~esm2
libopenmpt (Debian package) - update to 0.4.3-1+deb10u1
External References
- https://github.com/OpenMPT/openmpt/commit/927688ddab43c2b203569de79407a899e734fabe
- https://github.com/OpenMPT/openmpt/compare/libopenmpt-0.3.18...libopenmpt-0.3.19
- https://github.com/OpenMPT/openmpt/compare/libopenmpt-0.4.8...libopenmpt-0.4.9
- https://source.openmpt.org/browse/openmpt/trunk/OpenMPT/?op=revision&rev=12127&peg=12127