abcm2ps: Buffer overflow vulnerability
Gentoo Linux Security Advisory
||GLSA 200412-18 / abcm2ps
||December 19, 2004
||December 19, 2004: 02
All supported architectures
abcm2ps is vulnerable to a buffer overflow that could lead to remote
execution of arbitrary code.
abcm2ps is a utility used to convert ABC music sheet files into
Limin Wang has located a buffer overflow inside the put_words()
function in the abcm2ps code.
A remote attacker could convince the victim to download a
specially-crafted ABC file. Upon execution, this file would trigger the
buffer overflow and lead to the execution of arbitrary code with the
permissions of the user running abcm2ps.
There is no known workaround at this time.
All abcm2ps users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/abcm2ps-3.7.21"