Description
Xfig, possibly 3.2.5, allows local users to read and write arbitrary files via a symlink attack on the (1) xfig-eps[PID], (2) xfig-pic[PID].pix, (3) xfig-pic[PID].err, (4) xfig-pcx[PID].pix, (5) xfig-xfigrc[PID], (6) xfig[PID], (7) xfig-print[PID], (8) xfig-export[PID].err, (9) xfig-batch[PID], (10) xfig-exp[PID], or (11) xfig-spell.[PID] temporary files, where [PID] is a process ID.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | xfig | 1:3.2.5.a-1 | — |
| Debian 13 | xfig | 1:3.2.5.a-1 | — |
| Debian 12 | xfig | 1:3.2.5.a-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | xfig | 3.2.6-1.1 | openSUSE-SU-2024:10483-1 |
Advisories 1
- openSUSE-SU-2024:10483-1 xfig-3.2.6-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- xfig-temp-symlink(49600) vdb-entry
- MDVSA-2009:244 vendor-advisory
- [oss-security] 20090401 CVE id rquest: xfig insecure tmp files mailing-list
- 35320 third-party-advisory
- 34328 vdb-entry