CVE-2009-4227
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.
What to do
Likely to be exploited: EPSS gives a 11% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | xfig | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | xfig | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | xfig | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | xfig | Fix pending | ||
| Debian 14 | xfig | Fixed | 1:3.2.5.b-1 | DEBIAN-CVE-2009-4227 |
| Debian 13 | xfig | Fixed | 1:3.2.5.b-1 | DEBIAN-CVE-2009-4227 |
| Debian 12 | xfig | Fixed | 1:3.2.5.b-1 | DEBIAN-CVE-2009-4227 |
| Red Hat Enterprise Linux 6 | transfig | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xfig | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xfig-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xfig-plain | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | transfig | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | xfig | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 4 | transfig | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 4 | xfig | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:010 (vendor-advisory)
References
- http://secunia.com/advisories/37577
- http://www.openwall.com/lists/oss-security/2009/12/03/2
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559274
- http://www.securityfocus.com/bid/37193
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:010
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54525
- http://www.vupen.com/english/advisories/2011/0108
- https://bugzilla.redhat.com/show_bug.cgi?id=543905
- http://secunia.com/advisories/37571
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.