CVE-2009-4227
CVE-2009-4227 is a medium-severity vulnerability in Xfig with a CVSS 2.0 base score of 6.8. Its EPSS exploit-prediction score of 11% places it in the 95th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Medium (CVSS 2.0 base score 6.8)
- EPSS exploit prediction: 11% (95th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Xfig
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2009-4227?
- CVE-2009-4227 has a CVSS 2.0 base score of 6.8, rated medium severity.
- Is CVE-2009-4227 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 11% (95th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2009-4227?
- CVE-2009-4227 primarily affects Xfig. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2009-4227?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2009-4227 published?
- CVE-2009-4227 was published on 2009-12-08 and last updated on 2026-06-16.
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559274
- http://secunia.com/advisories/37571
- http://secunia.com/advisories/37577
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:010
- http://www.openwall.com/lists/oss-security/2009/12/03/2
- http://www.securityfocus.com/bid/37193
- http://www.vupen.com/english/advisories/2011/0108
- https://bugzilla.redhat.com/show_bug.cgi?id=543905
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54525
Affected products (2)
- cpe:2.3:a:xfig:xfig:*:*:*:*:*:*:*:*
- cpe:2.3:a:xfig:xfig:3.2.5:*:*:*:*:*:*:*
More vulnerabilities in Xfig
- CVE-2010-4262 — Medium (CVSS 6.8): Stack-based buffer overflow in Xfig 3.2.4 and 3.2.5 allows remote attackers to cause a denial of service (crash) and…
- CVE-2009-1962 — Medium (CVSS 4.4): Xfig, possibly 3.2.5, allows local users to read and write arbitrary files via a symlink attack on the (1)…
- CVE-2009-4228 — Medium (CVSS 4.3): Stack consumption vulnerability in u_bound.c in Xfig 3.2.5b and earlier allows remote attackers to cause a denial of…
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.