Gentoo Logo

abcm2ps: Buffer overflow vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200412-18 / abcm2ps
Release Date December 19, 2004
Latest Revision December 19, 2004: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-sound/abcm2ps < 3.7.21 >= 3.7.21 All supported architectures

Related bugreports: #74702


abcm2ps is vulnerable to a buffer overflow that could lead to remote execution of arbitrary code.

2.  Impact Information


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.

3.  Resolution Information


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"

4.  References


Page updated December 19, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.