{"id":"UBUNTU-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":"2025-07-16T07:30:38.724522Z","published":"2009-12-08T18:30:00Z","withdrawn":"2025-07-18T16:42:39Z","upstream":["CVE-2009-4227"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2009-4227"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2009-4227"}],"affected":[{"package":{"name":"xfig","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/xfig@1:3.2.5.c-7?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.5.c-7"}]}],"versions":["1:3.2.5.c-5","1:3.2.5.c-6"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"xfig","binary_version":"1:3.2.5.c-7"},{"binary_name":"xfig-dbgsym","binary_version":"1:3.2.5.c-7"},{"binary_name":"xfig-doc","binary_version":"1:3.2.5.c-7"},{"binary_name":"xfig-libs","binary_version":"1:3.2.5.c-7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2009/UBUNTU-CVE-2009-4227.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"medium"}]}