← Vulnerability feed

Vulnerability record · CVE-2009-5081 · published 30 June 2011

CVE-2009-5081: Gnu groff link following vulnerability

Gnu · Groff

The (1) config.guess, (2) contrib/groffer/perl/groffer.pl, and (3) contrib/groffer/perl/roff2.pl scripts in GNU troff (aka groff) 1.21 and earlier use an insufficient number of X characters in the template argument to the tempfile function, which makes it easier for local users to overwrite arbitrary files via a symlink attack on a temporary file, a different vulnerability than CVE-2004-0969.

3.3 CVSS 2.0 Low EPSS 0.30% · top 80.1% CWE-59 · Link following
3.3CVSS 2.0 base score
0.30%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
16 Jun 2026Last modified by NVD

Description

The (1) config.guess, (2) contrib/groffer/perl/groffer.pl, and (3) contrib/groffer/perl/roff2.pl scripts in GNU troff (aka groff) 1.21 and earlier use an insufficient number of X characters in the template argument to the tempfile function, which makes it easier for local users to overwrite arbitrary files via a symlink attack on a temporary file, a different vulnerability than CVE-2004-0969.

AV:L/AC:M/Au:N/C:N/I:P/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2009-5081 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2000-0803Gnu groff vulnerabilityGNU Groff uses the current working directory to find a device description file, which allows a local user to gain additional privileges by including …EPSS 2.3%7.5CVE-2002-0003Gnu groff vulnerabilityBuffer overflow in the preprocessor in groff 1.16 and earlier allows remote attackers to gain privileges via lpd in the LPRng printing system.EPSS 1.8%7.5CVE-2001-1022Gnu groff vulnerabilityFormat string vulnerability in pic utility in groff 1.16.1 and other versions, and jgroff before 1.15, allows remote attackers to bypass the -S optio…EPSS 11%6.5CVE-2009-5078Gnu groff vulnerabilitycontrib/pdfmark/pdfroff.sh in GNU troff (aka groff) before 1.21 launches the Ghostscript program without the -dSAFER option, which allows remote atta…EPSS 2.3%3.3CVE-2009-5079Gnu groff link following vulnerabilityThe (1) gendef.sh, (2) doc/fixinfo.sh, and (3) contrib/gdiffmk/tests/runtests.in scripts in GNU troff (aka groff) 1.21 and earlier allow local users …EPSS 0.30%3.3CVE-2009-5080Gnu groff link following vulnerabilityThe (1) contrib/eqn2graph/eqn2graph.sh, (2) contrib/grap2graph/grap2graph.sh, and (3) contrib/pic2graph/pic2graph.sh scripts in GNU troff (aka groff)…EPSS 0.36%3.3CVE-2009-5082Gnu groff link following vulnerabilityThe (1) configure and (2) config.guess scripts in GNU troff (aka groff) 1.20.1 on Openwall GNU/*/Linux (aka Owl) improperly create temporary files up…EPSS 0.32%3.3CVE-2009-5044Apple mac os x link following vulnerabilitycontrib/pdfmark/pdfroff.sh in GNU troff (aka groff) before 1.21 allows local users to overwrite arbitrary files via a symlink attack on a pdf#####.tm…EPSS 0.37%

Source: NIST National Vulnerability Database (record CVE-2009-5081), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.