Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-4227 EUVD-2009-4196GHSA-3pwv-p24f-xm44

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 funct…

Published Dec 8, 2009 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xfig 1:3.2.5.b-1 —
Debian 13 xfig 1:3.2.5.b-1 —
Debian 12 xfig 1:3.2.5.b-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xfig 3.2.6-1.1 openSUSE-SU-2024:10483-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References