Stack-based buffer overflow in the read_1_3_textobject function in f_readold.c in Xfig 3.2.5b and earlier, and in the read_textobject function in read1_3.c in fig2dev in Transfig 3.2.5a and earlier, allows remote attackers to execute arbitrary code via a long string in a malformed .fig file that uses the 1.3 file format. NOTE: some of these details are obtained from third party information.
https://exchange.xforce.ibmcloud.com/vulnerabilities/54525
https://bugzilla.redhat.com/show_bug.cgi?id=543905
http://www.vupen.com/english/advisories/2011/0108
http://www.openwall.com/lists/oss-security/2009/12/03/2
http://www.mandriva.com/security/advisories?name=MDVSA-2011:010
http://secunia.com/advisories/37577