abcm2ps is a utility used to convert ABC music sheet files into PostScript format.
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:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/abcm2ps-3.7.21"