{"id":"DEBIAN-CVE-2009-4227","details":"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.","modified":"2026-09-22T16:47:27.207234837Z","published":"2009-12-08T18:30:00.313Z","upstream":["CVE-2009-4227"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2009-4227"}],"affected":[{"package":{"name":"xfig","ecosystem":"Debian:12","purl":"pkg:deb/debian/xfig?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.5.b-1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-4227.json"}},{"package":{"name":"xfig","ecosystem":"Debian:13","purl":"pkg:deb/debian/xfig?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.5.b-1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-4227.json"}},{"package":{"name":"xfig","ecosystem":"Debian:14","purl":"pkg:deb/debian/xfig?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.5.b-1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-4227.json"}}],"schema_version":"1.9.0"}