CVE-2009-5081 json
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…
published 15y ago modified 4mo ago also EUVD-2009-5036
- cvss
- 3.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- groff Debian 14, Debian 13, Debian 12 1.20.1-5
debian advisories DEBIAN-CVE-2009-5081
- groff openSUSE Tumbleweed 1.22.3-2.5
opensuse advisories openSUSE-SU-2024:10031-1
Is CVE-2009-5081 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-5081 updated cvss 1.9
groff: roff2.pl and groffer.pl use easy-to-guess temporary file names
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 3.3 | AV:L/AC:M/Au:N/C:N/I:P/A:P |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
openwall.com
/lists/oss-security/2009/08/14/4
mailing-list, patch
-
openwall.com
/lists/oss-security/2009/08/14/5
mailing-list, patch
-
cvsweb.openwall.com
/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff
patch
-
mandriva.com
/security/advisories?name=MDVSA-2013:086
vendor-advisory
- cvsweb.openwall.com /cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff.diff?r1=1.1%3Br2=1.2%3Bf=h
Sources
- CVE List CVE-2009-5081
- NVD CVE-2009-5081
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.